// JavaScript Documentvar timer;function GetDay(nDay,lang){	var Days = new Array("sunday.","monday.","tuesday.","wednesday.",	                     "thursday.","friday.","saturday.");	var DaysIndo = new Array("minggu.","senin.","selasa.","rabu.",	                     "kamis.","jum'at","sabtu.");		if (lang=="eng"){		return Days[nDay]	}else{		return DaysIndo[nDay]	}		}function GetMonth(nMonth,lang){	var Months = new Array("jan","feb","mar","apr","may","jun",	                       "jul","aug","sep","oct","nov","dec");	var MonthsIndo = new Array("jan","feb","mar","apr","may","jun",	                       "jul","aug","sep","oct","nov","des");                       	if (lang=="eng"){		return Months[nMonth] 	}else{		return MonthsIndo[nMonth] 	}	  	 }function DateString(lang){	var Today = new Date();	var suffix = "th";	switch (Today.getDate())	{		case 1:		case 21:		case 31: 			suffix = "st"; break;		case 2:		case 22:			suffix = "nd"; break;		case 3:		case 23:			suffix = "rd"; break;	};	if (lang!="eng"){		suffix = ""	}	var strDate = GetDay(Today.getDay(),lang) + " " + Today.getDate();	strDate += suffix + " " + GetMonth(Today.getMonth(),lang);	return strDate}function hide() {   window.status="Intraca Towards Excellent Company"; setTimeout("hide()", 150);}/*************************************** http://vertical-scroller.vbarsan.com/*    This notice may not be removed **************************************///-- Begin Scroller's Parameters and messages -->//scroller's widthvar swidth=295;//scroller's heightvar sheight=97;//scroller's speed var sspeed=2;var restart=sspeed;var rspeed=sspeed;//scroller's pause var spause=2000;//scroller's backgroundvar sbcolor="";//messages: set your own; use as many as you'd like; set up Hyperlinks to//URLs as you normally do: <a target=... href="... URL ...">..message..</a>;var singletext=new Array();singletext[0]='<table CELLSPACING="0" CELLPADDING="0" align="left"><tr><td height="80px" valign="middle"><table align="left"><tr><td class=tabb>Headline News PT. Intracawood Mfg</td><td><img src="images/homel.gif" width="18px" height="10px" alt="Vertical Scroller"></td></tr></table><div class=tanc><br><br>&nbsp;Dalam waktu dekat ini fasilitas <br>&nbsp;headline news akan tersedia<br><br>&nbsp;<b><i>Intraca Towards Excellent Company</i></b></div></td></tr></table>';singletext[1]='<table CELLSPACING="0" CELLPADDING="0" align="left"><tr><td height="80px" valign="middle"><table align="left"><tr><td align="left" class=tabb>Hot Topics PT. Intracawood Mfg</td><td><img src="images/homel.gif" width="18px" height="10px" alt="Horizontal Scroller"></td></tr></table><div class=tanc><br><br>&nbsp;Agar Intraca selalu <b><i>Up to Date</i></b><br>&nbsp;dengan berita informasi industri plywood<br><br>&nbsp;<b><i>Intraca Towards Excellent Company</i></b></div></td></tr></table>';singletext[2]='<table CELLSPACING="0" CELLPADDING="0" align="left"><tr><td height="80px" valign="middle"><table align="left"><tr><td class=tabb>Public Relations</td><td><img src="images/homel.gif" width="18px" height="10px" alt="Typewriter Vertical Text Scroller"></td></tr></table><div class=tanc><br><br>&nbsp;Intraca membangun dan meningkatkan<br>&nbsp;kesejahteraan masyarakat<br><br>&nbsp;<b><i>Intraca Towards Excellent Company</i></b></div></td></tr></table>';singletext[3]='<table CELLSPACING="0" CELLPADDING="0" align="left"><tr><td height="80px" valign="middle"><div class=tan><b>&nbsp;Mitigating Climate Change Through<br>&nbsp;Sustainable Forestry Management</b><br>&nbsp;Sekatak - Sesayap - East Kalimantan Indonesia<br><br>&nbsp;<b><i>Intraca Toward Excellent Company</i></b><br>&nbsp;Tarakan Kota BAIS</div></td></tr></table>';singletext[4]='<div class=tan><b>&nbsp;Tampilan terbaik pada 800x600</b><br>&nbsp;ie4+ firefox1+ ns6+ opera7+ ns4+.<br><br>&nbsp;<b>On Mac OS X</b>:<br>&nbsp;Safari, ie5+ firefox1+ opera7+.<br><br>&nbsp;Any message may be <b><i>&nbsp;as large as desired.</i></b><br><br><font color="olive">&nbsp;Any wider row will automatically be adjusted<br>&nbsp;into as many rows as to fit the width<br>&nbsp;you set for the scrolling area.</font><br><br>&nbsp;One may use <b><i>&nbsp;any basic HTML code.</i><br><br></b></div>';singletext[5]='<div class=tan><b>&nbsp;Terimakasih atas kunjungan Anda</b><br>&nbsp;Bersama membangun dan meningkatkan<br>&nbsp;stabilitas kota Tarakan Indonesia</div>';//singletext[...]='...';//-- end Parameters and message -->//-- begin: Scroller's Algorithm -->var ii=0;function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}function start(){if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}else if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}else if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}//-- end Algorithm -->function createWindow(cUrl,cName,cFeatures) {var xWin = window.open(cUrl,cName,cFeatures)}window.onerror = null; var bName = navigator.appName; var bVer = parseInt(navigator.appVersion); var NS4 = (bName == "Netscape" && bVer >= 4); var IE4 = (bName == "Microsoft Internet Explorer"  && bVer >= 4); var NS3 = (bName == "Netscape" && bVer < 4); var IE3 = (bName == "Microsoft Internet Explorer"  && bVer < 4); var blink_speed=100; var i=0; if (NS4 || IE4) { if (navigator.appName == "Netscape") { layerStyleRef="layer."; layerRef="document.layers"; styleSwitch=""; }else{ layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style"; }}//BLINKINGfunction Blink(layerName){ if (NS4 || IE4) {  if(i%2==0) { eval(layerRef+'["'+layerName+'"]'+ styleSwitch+'.visibility="visible"'); } else { eval(layerRef+'["'+layerName+'"]'+ styleSwitch+'.visibility="hidden"'); } }  if(i<1) { i++; }  else { i-- } setTimeout("Blink('"+layerName+"')",blink_speed);}
