window.defaultStatus = "Spider WebMaster Tools.com"; var ie=document.all var ns6=document.getElementById && !document.all showCopyCommand = "select code" if(ie){ showCopyCommand = "select & copy code" } function selectText1(id){ if(document.getElementById(id).results.value == ""){ alert("There is nothing to select.\n\nPlease Create Script First!"); return; } document.getElementById(id).results.focus(); document.getElementById(id).results.select(); var copiedtext="" var tempstore="" if(ie){ tempstore=copiedtext document.execCommand("Copy") copiedtext=window.clipboardData.getData("Text"); } NSmsg="After \"highlighting code\" press\nControl + C to copy to your clipboard." IEmsg = "Selected data is now\ncopied to your clipboard.\n\n\Just paste data accordingly.\n" if(ie){alert(IEmsg);} if(ns6){alert(NSmsg);} } function selectText2(id){ if(document.getElementById(id).results2.value == ""){ alert("There is nothing to select.\n\nPlease Create Script First!"); return; } document.getElementById(id).results2.focus(); document.getElementById(id).results2.select(); var copiedtext2="" var tempstore2="" if(ie){ tempstore2=copiedtext2 document.execCommand("Copy") copiedtext2=window.clipboardData.getData("Text"); } NSmsg2="After \"highlighting code\" press\nControl + C to copy to your clipboard." IEmsg2 = "Selected data is now\ncopied to your clipboard.\n\n\Just paste data accordingly.\n" if(ie){alert(IEmsg2);} if(ns6){alert(NSmsg2);} } /* function clearResults is for IE - it won't clear textareas */ function clearResults(form,resets){ if(ie){ document.getElementById("results").value=""; if(resets == 2){ document.getElementById("results2").value=""; } } } function hiLiteMe(id){ document.getElementById(id).select(); } var bites = document.cookie.split(";"); function getCookie(name) { for (i=0; i < bites.length; i++) { nextbite = bites[i].split("="); // break into the "name & value" if (nextbite[0] == name) // if the name = true return unescape(nextbite[1]); // return this value } return null; // if there is no match return nothing, nata, zipo! } function setCookie(name) { var toogleTip = getCookie('swt'); toogle = true; if(toogleTip == "on" || toogleTip == null){ toogle = "off"; } if(toogleTip == "off"){ toogle = "on"; } value = toogle; var today = new Date(); var expire = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000); /* 365 days */ if (value != null && value != "") document.cookie=name + "=" + escape(value) + "; expires=" + expire.toGMTString(); bites = document.cookie.split(";"); location.href = document.location; } var toogleTip = getCookie('swt'); showTip = true; if(toogleTip == "on" || toogleTip == null){ showTip = true; } if(toogleTip == "off"){ showTip = false; } /*var showHeader = true*/ //set to false to not show header /* startMenu = function() { if (document.all&&document.getElementById) { swtTopMenu_cssmenu = document.getElementById("swtTopMenu_csstopmenu"); for (i=0; i"+doLinkText+"<\/a>"; var doLinkText = "Admin"+doTag+"www.blogger9.com"; var mailAdmin =""+doLinkText+"<\/a>"; var doLinkText = "Sales"+doTag+"SpiderWebMasterTools.com"; var mailSales =""+doLinkText+"<\/a>"; var mailSales = "sales {at} spiderwebmastertools.com"; var doLinkText = "Support"+doTag+"www.blogger9.com"; var mailSupport =""+doLinkText+"<\/a>"; var mailSupport = "support {at} blogger9.com"; function Start(page) { OpenWin = this.open(page, "CtrlWindow","toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=no,width=600,height=450,left=100,top=40,"); }