function writeWimpyButton(theFile, wimpyWidth, wimpyHeight, wimpyConfigs, backgroundColor){ var defaultWidth = 17; var defaultHeight = 17; var defaultConfigs = ""; var baseURL = ""; var wimpySwf = "http://www.irish-sayings.com/scripts/wimpy_button.swf"; var wimpyWidth = (wimpyWidth == null) ? defaultWidth : wimpyWidth; var wimpyHeight = (wimpyHeight == null) ? defaultHeight : wimpyHeight; var wimpyConfigs = (wimpyConfigs == null) ? defaultConfigs : wimpyConfigs; var backgroundColor = (backgroundColor == null) ? false : backgroundColor; var myid = Math.round((Math.random()*1000)+1); var flashCode = ""; var newlineChar = "\n"; var backgroundColor = (backgroundColor == null) ? false : backgroundColor; if(typeof(backgroundColor) == "string"){ var Astring = backgroundColor.split(""); if(Astring[0] == "#"){ Astring.shift(); backgroundColor = Astring.join(""); } } if(backgroundColor == false){ tptParam = ''+newlineChar; tptEmbed = 'wmode="transparent"'+newlineChar; } else { tptParam = ''+newlineChar; tptEmbed = 'bgcolor="#'+backgroundColor+'"'; } flashCode += ' '; document.write(flashCode); } document.write('
| '); writeWimpyButton('http://www.irish-sayings.com/process/download_wimpy.php?vars=dialectzzzconnachtyyylistenzzz60yyywidgetzzz1yyyaffzzzminidict','17','17','&displayRewindButton=no' ,'F5FFF2'); document.write(' | '); document.write(''); document.write('"láidir"'); document.write(' |