1<!-- 2 3// remove frames 4if (top!=self) 5{ 6 top.location=location 7} 8 9// Solitaire City for Windows 10function WindowsReleaseDate() { 11 document.write("September 19th 2011"); 12} 13function WindowsVersion() { 14 document.write("5.02") 15} 16function WindowsSize() { 17 document.write("24.2 MB"); 18} 19function WindowsBuyNow(){ 20 document.write("Price: <strong>$9.95</strong> - Unlimited free updates !"); 21} 22 23// Solitaire City for Macintosh 24function MacReleaseDate() { 25 document.write("September 22nd 2011"); 26} 27function MacVersion() { 28 document.write("5.01") 29} 30function MacSize() { 31 document.write("23.5 MB"); 32} 33 34// Solitaire City for PocketPC 35function PPCReleaseDate() { 36 document.write("May 27th 2007"); 37} 38function PPCVersion() { 39 document.write("3.00") 40} 41function PPCSize() { 42 document.write("7.90 MB"); 43} 44function CABSize() { 45 document.write("3.26 MB"); 46} 47 48// Solitaire Setty 49function SettyReleaseDate() { 50 document.write("May 25th 2007"); 51} 52function SettyVersion() { 53 document.write("2.00") 54} 55function SettySize() { 56 document.write("8.57 MB"); 57} 58 59function DisplayDigitalSmokeTMs() { 60 document.write("Solitaire City and Digital Smoke are trademarks of Digital Smoke LLC<br>"); 61} 62function DisplayAppleTMs() { 63 document.write("iPod is a trademark of Apple Inc., registered in the U.S. and other countries. iPhone is a trademark of Apple Inc.<br>"); 64} 65function DisplayNintendoTMs() { 66 document.write("Nintendo and Wii are trademarks of Nintendo<br>"); 67} 68 69// Functions 70 71function goto_URL(object) 72{ 73 window.location.href=object.options[object.selectedIndex].value; 74} 75 76function DisplayDate() 77{ 78 var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"); 79 var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December"); 80 var today = new Date(); 81 var day = today.getDay(); 82 var month = today.getMonth(); 83 var year = today.getYear(); 84 var date = today.getDate(); 85 if (year<1900) 86 { 87 year=year+1900; 88 } 89 if ((date==1)||(date==21)||(date==31)) 90 { 91 var symbol="st"; 92 } 93 else if ((date==2)||(date==22)) 94 { 95 var symbol="nd"; 96 } 97 else if ((date==3)||(date==23)) 98 { 99 var symbol="rd"; 100 } 101 else 102 { 103 var symbol="th"; 104 } 105 document.write(days[day] + " " + date + symbol + " " + months[month] + ", " + year); 106} 107 108function CreateWindow(URL,Width,Height) 109{ 110 var xWindow=(screen.width-Width)/2; 111 var yWindow=(screen.height-Height)/2; 112 NewWindow=window.open(URL,"",'left='+xWindow+',top='+yWindow+',width='+Width+',height='+Height+',resizable=no,scrollbars=no,menubar=no,toobar=no,location=no,directories=no,status=no,framewidth=0,frameheight=0,marginwidth=0,marginheight=0,border=1'); 113 NewWindow.focus(); 114} 115 116function CreateWindowScrollBars(URL,Width,Height) 117{ 118 var xWindow; 119 var yWindow; 120 121 Width+=100; 122 Height+=80; 123 if (Width>screen.width) 124 { 125 Width=screen.width; 126 } 127 if (Height>screen.height-100) 128 { 129 Height=screen.height-100; 130 yWindow=0; 131 } 132 else 133 { 134 yWindow=(screen.height-Height)/2; 135 } 136 xWindow=(screen.width-Width)/2; 137 NewWindow=window.open(URL,"",'left='+xWindow+',top='+yWindow+',width='+Width+',height='+Height+',resizable=yes,scrollbars=yes,menubar=no,toobar=no,location=no,directories=no,status=no,framewidth=0,frameheight=0,marginwidth=0,marginheight=0,border=1'); 138 NewWindow.focus(); 139} 140 141function Display(Text) { 142 document.write(Text); 143} 144 145function IsValidEmailAddress(str) 146{
147 // are regular expressions supported? 148 var supported = 0; 149 if (window.RegExp) 150 { 151 var tempStr = "a"; 152 var tempReg = new RegExp(tempStr); 153 if (tempReg.test(tempStr)) 154 supported = 1; 155 } 156 if (!supported) 157 return (str.indexOf(".") > 2) && (str.indexOf("@") > 0); 158 var r1 = new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)"); 159 var r2 = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$"); 160 return (!r1.test(str) && r2.test(str)); 161} 162 163function ValidateFormEntries() 164{ 165 strEmail=document.getElementById("email").value; 166 if (!IsValidEmailAddress(strEmail)) 167 { 168 alert('Please enter a valid E-mail address so we can reply to you.'); 169 event.returnValue=false; 170 return; 171 } 172 173 if (!grecaptcha.getResponse()) 174 { 175 alert("Please click in the reCAPTCHA box to show that you're not a robot"); 176 event.returnValue=false; 177 return; 178 } 179} 180 181// -->
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.