// Style sheet platform checkif ((navigator.userAgent.indexOf("Mac") != -1))    document.write("<link rel='stylesheet' href='m.css' type='text/css'>")if (navigator.userAgent.indexOf('Win') != -1){    if (navigator.appName.indexOf('Netscape') != -1) {        document.write("<link rel='stylesheet'n.css' type='text/css'>")        }   else {        document.write("<link rel='stylesheet'href='i.css' type='text/css'>")        }    }// Send MyLinkvar win=null;function Send(mypage){                window.open(mypage,'sendlink','width=240,height=410,top=100,left=310,scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');}// Window openingfunction openWin(url, width, height) {        var win = window.open(url, '_blank','resizable=no,scrollbars=no,status=0,directories=no,toolbar=no,menubar=no,width='+width+',height='+height);}// Tech Check Boxes...        function updatebox(prefix)        {//				alert("prefix is "+prefix);				if (prefix>0) {					fieldname="Technology-"+prefix;				}				else {					fieldname="Technology";				}//				alert("fieldname is "+fieldname);                document.spud[fieldname].value = "";                for(var i = 1; i < 6; i++)                {                        if (i>1) document.spud[fieldname].value += "-";                        if (prefix>0) {var b = prefix+"box" + i;}						else {var b = "box" + i;}                        if(document.spud[b].checked)                        {                                document.spud[fieldname].value += document.spud[b].value;                        }                        else                        {                                document.spud[fieldname].value += "-";                        }                }        }	function initmultiboxes() {		for (var records=0;records<arguments.length;records++) {			currentrecord=arguments[records];//			alert("current record is "+currentrecord);			if (currentrecord>0) {				var tempstring=document.spud["Technology-"+currentrecord].value;//				alert("tempstring is "+tempstring);				for(var i = 0; i < 5; i++) {					if (tempstring.substr((i*2),1) != "-") { // Its a hit						var b = currentrecord+"box" + (i+1);						document.spud[b].checked=true;					}				}			}		}	}	function initboxes() {		var tempstring=document.spud.Technology.value;		for(var i = 0; i < 5; i++) {			if (tempstring.substr((i*2),1) != "-") { // Its a hit				var b = "box" + (i+1);				document.spud[b].checked=true;			}		}	}// Cookie Stuff...// Use this function to retrieve a cookie.function getCookie(name){var cname = name + "=";var dc = document.cookie;    if (dc.length > 0) {    begin = dc.indexOf(cname);        if (begin != -1) {        begin += cname.length;        end = dc.indexOf(";", begin);            if (end == -1) end = dc.length;            return unescape(dc.substring(begin, end));        }    }return null;}// Cookie Stuff...// Use this function to save a cookie.function setCookie(name, value, expires) {document.cookie = name + "=" + escape(value) + "; path=/" +((expires == null) ? "" : "; expires=" + expires.toGMTString());}// Cookie Stuff...// Use this function to delete a cookie.function delCookie(name) {document.cookie = name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT" +  "; path=/";}// Cookie Stuff...// Function to retrieve form element's value.function getValue(element) {var value = getCookie(element.name);    if (value != null) element.value = value;}// Cookie Stuff...// Function to save form element's value.function setValue(element) {setCookie(element.name, element.value, exp);}var exp = new Date();exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 31));// Image Rollover Stufffunction jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;}function preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.p) d.p=new Array();    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}}function swapImgRestore() { //v3.0  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function findObj(n, d) { //v3.0  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;}function swapImage() { //v3.0  var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}// Centered Window openingvar win=null;function NewWindow(mypage,myname,w,h,scroll,pos){if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h))):100;}if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';win=window.open(mypage,myname,settings);if(win.focus){win.focus();}}// Random Favouriternd.today=new Date();rnd.seed=rnd.today.getTime();function rnd() {        rnd.seed = (rnd.seed*9301+49297) % 233280;        return rnd.seed/(233280.0);};function rand(number) {        return Math.ceil(rnd()*number);};// end central randomizer. -->var myArray = new Array();var i = 0;myArray[i++]='0154.shtml';myArray[i++]='0249.shtml';myArray[i++]='0253.shtml';myArray[i++]='0287.shtml';myArray[i++]='0288.shtml';myArray[i++]='0289.shtml';myArray[i++]='0290.shtml';myArray[i++]='0347.shtml';myArray[i++]='0745.shtml';myArray[i++]='0749.shtml';myArray[i++]='0755.shtml';myArray[i++]='0778.shtml';myArray[i++]='0894.shtml';myArray[i++]='0900.shtml';myArray[i++]='0957.shtml';myArray[i++]='1034.shtml';myArray[i++]='1035.shtml';myArray[i++]='1038.shtml';myArray[i++]='1046.shtml';myArray[i++]='1098.shtml';myArray[i++]='1119.shtml';myArray[i++]='1218.shtml';myArray[i++]='1234.shtml';myArray[i++]='1239.shtml';myArray[i++]='1297.shtml';myArray[i++]='1409.shtml';myArray[i++]='1410.shtml';myArray[i++]='1453.shtml';myArray[i++]='1473.shtml';myArray[i++]='1612.shtml';myArray[i++]='1681.shtml';myArray[i++]='1685.shtml';myArray[i++]='1695.shtml';myArray[i++]='1702.shtml';myArray[i++]='6415.shtml';myArray[i++]='1815.shtml';myArray[i++]='1896.shtml';myArray[i++]='1926.shtml';myArray[i++]='1940.shtml';myArray[i++]='1972.shtml';myArray[i++]='2110.shtml';myArray[i++]='2143.shtml';myArray[i++]='2208.shtml';myArray[i++]='2283.shtml';myArray[i++]='2337.shtml';myArray[i++]='2356.shtml';myArray[i++]='2387.shtml';myArray[i++]='2427.shtml';myArray[i++]='2529.shtml';myArray[i++]='2598.shtml';myArray[i++]='2665.shtml';myArray[i++]='2796.shtml';myArray[i++]='0294.shtml';myArray[i++]='1262.shtml';myArray[i++]='4576.shtml';myArray[i++]='4554.shtml';myArray[i++]='4622.shtml';myArray[i++]='4575.shtml';myArray[i++]='3808.shtml';myArray[i++]='1289.shtml';myArray[i++]='3340.shtml';myArray[i++]='3145.shtml';myArray[i++]='3901.shtml';myArray[i++]='3083.shtml';myArray[i++]='2897.shtml';myArray[i++]='3121.shtml';function loadRandom() {    location.href = 'http://www.linkdup.com/v1/frandom/'+myArray[rand(i)-1];    setTimeout("loadRandom()",180000);}