function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&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'; content += ''; content += '
'; content += ''; if(OpenWin) OpenWin.close(); if(pwidth > 1024 || pheight > 768) OpenWin = this.open('', "CtrlWindow", "width=" + width + ",height=" + height + " toolbar=no, menubar=no, location=no, scrollbars=yes, statusbar=no, resizable=yes, screenX="+x+", screenY="+y+", left="+x+", top="+y); else OpenWin = this.open('', "CtrlWindow", "width=" + width + ",height=" + height + " toolbar=no, menubar=no, location=no, scrollbars=no, statusbar=no, resizable=yes, screenX="+x+", screenY="+y+", left="+x+", top="+y); OpenWin.document.write(content); OpenWin.focus(); } function toggleRightBox(a) { if(a == -1) { gE('rightNewsBox').style.display = ''; gE('rightArticlesBox').style.display = 'none'; gE('ultimeleID').className = 'ultimeleOn'; gE('celeMaiID').className = 'celeMaiOff'; } else { gE('rightNewsBox').style.display = 'none'; gE('rightArticlesBox').style.display = ''; gE('ultimeleID').className = 'ultimeleOff'; gE('celeMaiID').className = 'celeMaiOn'; } } function pollVote() { //SetCookie('tehnopolPoll', getCookie('tehnopolPoll') + '|' + gE('pollID').value, 7); document.pollFrm.submit(); } function SetCookie(cookieName,cookieValue,nDays) { var today = new Date(); var expire = new Date(); if (nDays==null || nDays==0) nDays=1; expire.setTime(today.getTime() + 3600000*24*nDays); document.cookie = cookieName+"="+escape(cookieValue) + ";expires="+expire.toGMTString(); } function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; } var end = document.cookie.indexOf(";", begin); if (end == -1) { end = dc.length; } return unescape(dc.substring(begin + prefix.length, end)); } function playVideo(vFile) { gE('MPlayer').innerHTML = ' '; window.scrollTo(0, 0); } //news ticker var marqueewidth="632px" //Specify the marquee's height var marqueeheight="20px" //Specify the marquee's marquee speed (larger is faster 1-10) var marqueespeed=1 //configure background color: var marqueebgcolor="#FFFFFF" //Pause marquee onMousever (0=no. 1=yes)? var pauseit=1 var pausespeed = 0; var copyspeed = 0; function writeNewsTicker(newsContainer) { /* Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com) For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com Credit MUST stay intact */ //Specify the marquee's width (in pixels) //Specify the marquee's content (don't delete nobr tag) //Keep all content on ONE line, and backslash any single quotations (ie: that\'s great): var marqueecontent = document.getElementById(newsContainer).innerHTML; ////NO NEED TO EDIT BELOW THIS LINE//////////// marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed - 1) //slow speed down by 1 for NS copyspeed=marqueespeed pausespeed=(pauseit==0)? copyspeed: 0 var iedom=document.all||document.getElementById if (iedom) document.write('') var actualwidth='' var cross_marquee, ns_marquee function scrollmarquee(){ if (iedom){ if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8)) cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px" else cross_marquee.style.left=parseInt(marqueewidth)+8+"px" } else if (document.layers){ if (ns_marquee.left>(actualwidth*(-1)+8)) ns_marquee.left-=copyspeed else ns_marquee.left=parseInt(marqueewidth)+8 } } function populate(){ if (iedom){ cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee cross_marquee.style.left=parseInt(marqueewidth)+8+"px" cross_marquee.innerHTML=marqueecontent actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth } else if (document.layers){ ns_marquee=document.ns_marquee.document.ns_marquee2 ns_marquee.left=parseInt(marqueewidth)+8 ns_marquee.document.write(marqueecontent) ns_marquee.document.close() actualwidth=ns_marquee.document.width } lefttime=setInterval(scrollmarquee,20) } if (iedom||document.layers){ with (document){ if (iedom){ write('
') write('
') write('
') write('
') } else if (document.layers){ write('') write('') write('') } } } populate(); }