var baseURL="";
var SURL="";
var DURL="";
function CM_slider(){this.recordCount=0;this.elm=null;this.elmActive=null;
this.elmTotal=null;this.class_name="CM_slider_item";
this.current=0;this.direction=-1;this.stepItemCount=1;
this.itemWidth=0;this.visibleCount=0;this.firstSlide=true;
this.stepTime=30;this.stepCount=5;this.stepAmount=0;this.stepIndex=0;
this.totalWidth=0;this.lastestLeft=0;this._automaticStepTime=5000;
this._automaticTimer=null;this.name="CMSLIDER";this.goStatus=true;
this.timerIndex=null;this._start=d;this._action=b;this._clear=e;
this._go=a;this.go=f;this._automatic=g;this._clearAutomaticTimer=h;
this._checkStatus=c;function d(){if(!this.elm){return false}tmp=this.elm.getElementsByTagName("div");
for(i=0;i<tmp.length;i++){if(tmp[i].className==this.class_name){this.recordCount+=1;this.itemWidth=tmp[i].offsetWidth}}this.visibleCount=parseInt(this.elm.offsetWidth/this.itemWidth)*1;this.totalWidth=this.itemWidth*this.recordCount;this.stepAmount=parseInt(this.itemWidth/this.stepCount);this.lastestLeft=document.getElementById(this.class_name+"_"+(this.recordCount-1)).offsetLeft;this.showElmTotal();this.showElmActive()}this.showElmTotal=function(){if(this.elmTotal){this.elmTotal.innerHTML=this.recordCount}};this.showElmActive=function(){if(this.elmActive){tmp=this.current*-1+this.stepItemCount;if(tmp>this.recordCount){tmp=this.recordCount}this.elmActive.innerHTML=tmp}};function b(){if(!this.recordCount){return false}else{if(this.visibleCount>=this.recordCount){return false}}this._automatic()}function a(){this.stepIndex++;if(this.stepIndex==this.stepCount){_step=this.itemWidth-(this.stepCount*this.stepAmount)+this.stepAmount}else{_step=this.stepAmount}_step=_step*this.stepItemCount;for(i=0;i<this.recordCount;i++){tmp=document.getElementById(this.class_name+"_"+i).offsetLeft+_step*this.direction;if(tmp>this.lastestLeft){tmp=_step-this.itemWidth}document.getElementById(this.class_name+"_"+i).style.left=tmp+"px"}if(this.stepIndex==this.stepCount){this._clear()}else{this.timerIndex=setTimeout(this.name+"._go();",this.stepTime)}this.showElmActive()}function f(k,j){if(!this.goStatus){return}if(!j){this._clearAutomaticTimer()}if(this.current+k>0){return false}if((this.recordCount-this.visibleCount)<Math.abs(this.current+k)){return false}this.goStatus=false;this.direction=k;this.current+=k*this.stepItemCount;this._go()}function e(){this.stepIndex=0;if(this.timerIndex!=null){clearTimeout(this.timerIndex)}this.timerIndex=null;this.goStatus=true}function h(){if(this._automaticTimer!=null){clearTimeout(this._automaticTimer)}this._automaticTimer=null}function g(){if(this.firstSlide){var j=setTimeout("this.go(this.direction, 1)",this._automaticStepTime);clearTimeout(j);this.firstSlide=false}else{this._checkStatus();this.go(this.direction,1)}this._automaticTimer=setTimeout(this.name+"._automatic();",this._automaticStepTime)}function c(){var j=this.recordCount-this.visibleCount;if(this.current==-(j)){this.direction=1}else{if(this.current==0){this.direction=-1}}}}_ZINDEX=2000;function floatingBanner(){this.x_index=0;this.min_client_width=0;this.top_margin=2;this.banner_CSS="display: none; visibility: visible; width: 156px; position: absolute; top: 2px; z-index: "+_ZINDEX+";";this.banner_Code="";this._show=_show;this._hidden=_hidden;this._paint=_paint;this._draw=_draw;this.swapStatus=swapStatus;this.show_status=false;_ZINDEX+=1;function _show(){document.getElementById("CM_Float_banner_div").style.visibility="visible";document.getElementById("CM_Float_banner_div").style.display="block";this.show_status=true;this._paint()}function _hidden(){document.getElementById("CM_Float_banner_div").style.visibility="hidden";this.show_status=false}function swapStatus(){if(this.show_status){this._hidden()}else{this._show()}}function _paint(){with(document.body){if(clientWidth>this.min_client_width){if(this.show_status){document.getElementById("CM_Float_banner_div").style.left=this.x_index+"px";scrollvalue=document.documentElement.scrollTop>document.body.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;document.getElementById("CM_Float_banner_div").style.top=(scrollvalue+this.top_margin)+"px";document.getElementById("CM_Float_banner_div").style.display="block"}}else{document.getElementById("CM_Float_banner_div").style.display="none"}}}function _draw(){this.min_client_width=this.x_index+200;document.write('<div id="CM_Float_banner_div" style="'+this.banner_CSS+'">'+this.banner_Code+"</div>")}}function CM_Floating_changeStatus(){elm.swapStatus()}function CM_Floating_Event(){elm._paint()}function getNormalSWF(a,c,d,b){if(!b){b="opaque"}document.write('<div style="width: '+a+"px; height: "+c+"px; z-index: "+_ZINDEX+';">');document.write('<object width="'+a+'" height="'+c+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0">');document.write('<param name="movie" value="'+d+'">');document.write('<param name="quality" value="high">');document.write('<param name="wmode" value="'+b+'">');document.write('<param name="scale" value="1">');document.write('<embed style="z-index: '+_ZINDEX+';" src="'+d+'" width="'+a+'" height="'+c+'" scale="exactfit" quality="high" wmode="'+b+'" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>');document.write("</object>");document.write("</div>");_ZINDEX+=1}function getRolloverSWF(a,c,f,b,e,d){_LEFT="0px";_TOP="0px";switch(d){case"1":_TOP="-"+(b-c)+"px";_LEFT="0px";break;case"4":_TOP="0px";_LEFT="-"+(f-a)+"px";break}document.write('<div style="width: '+a+"px; height: "+c+"px; position: relative; z-index: "+_ZINDEX+"; top: "+_TOP+"; left: "+_LEFT+'">');document.write('<object width="'+f+'px" height="'+b+'px" style="position: absolute; left: 0px; top: 0px;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0">');document.write('<param name="movie" value="'+e+'">');document.write('<param name="menu" value="false">');document.write('<param name="quality" value="high">');document.write('<param name="wmode" value="transparent">');document.write('<param name="scale" value="1">');document.write('<embed style="z-index: '+_ZINDEX+';" src="'+e+'" width="'+f+'" height="'+b+'" scale="exactfit" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>');document.write("</object>");document.write("</div>");_ZINDEX+=1}function hideFloatingBanner(){var a=document.getElementById("CM_floatingElm");if(typeof(a)=="undefined"){return}a.style.display="none"}function showBookmark(){var d=encodeURIComponent(document.title);var a=encodeURIComponent(document.location.href);while(d.indexOf("'")!=-1){d=d.replace("'","")}var c={2:{t:"Yahoo",u:"http://myweb2.search.yahoo.com/myresults/bookmarklet?&u="+a+"&t="+d},258:{t:"MySpace",u:"http://www.myspace.com/Modules/PostTo/Pages/?l=3&u="+a+"&title="+d},140:{t:"Delicious",u:"http://del.icio.us/post?url="+a+"&title="+d},241:{t:"Twitter",u:"http://twitter.com/home?status="+a+"&title="+d},268:{t:"Facebook",u:"http://www.facebook.com/sharer.php?u="+a+"&title="+d},67:{t:"Oyyla",u:"http://www.oyyla.com/gonder?phase=2&url="+a},116:{t:"Blogger",u:"http://www.blogger.com/blog_this.pyra?u="+a+"&t="+d},75:{t:"Google",u:"http://www.google.com/bookmarks/mark?op=edit&bkmk="+a+"&title="+d},36:{t:"Tumblr",u:"http://www.tumblr.com/share?v=3&u="+a+"&t="+d},184:{t:"StumbleUpon",u:"http://www.stumbleupon.com/submit?url="+a+"&title="+d},143:{t:"Digg",u:"http://digg.com/submit?url="+a+"&title="+d}};document.write('<table cellpadding="0" cellspacing="0" style="font: 100 12px/16px Tahoma; height: 16px; margin: 5px 0px 10px 0px;"><tr>');for(var b in c){document.write('<td style="background: url('+SURL+"i/icons_share.png) no-repeat center "+(b*-16)+'px; width: 26px; line-height: 16px; padding: 0px 3px; margin: 0px; cursor: pointer; border-right: 1px dotted #414141;" title="'+c[b]["t"]+'" onclick="javascript:window.open(\''+c[b]["u"]+"', '', '')\"></td>")}document.write("</tr></table>")}function showBookmark2(){var b=encodeURIComponent(document.title);var a=encodeURIComponent(document.location.href);while(b.indexOf("'")!=-1){b=b.replace("'","")}document.write('<div style="float: left; width: 330px; height: 21px;">');document.write('<a style="margin-right: 16px; font-size: 1px;" href="http://www.facebook.com/sharer.php?u='+a+"&title="+b+'"><img src="'+SURL+'i/icon_share_facebook.png" width="64" height="18" alt="Facebook\'ta Paylaş" /></a>');document.write('<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-text="'+b+'" data-url="'+a+'" >Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script>');document.write('<iframe src="http://www.facebook.com/plugins/like.php?app_id=162195143852106&amp;href='+a+'&amp;send=false&amp;layout=button_count&amp;width=140&amp;show_faces=false&amp;action=recommend&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:140px; height:21px;" allowTransparency="true"></iframe>');document.write("</div>")}function openPopUp_520x390(a,b){window.open(a,b,"width=520, height=390, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0");return false}function openPopUp_600x450(a,b){window.open(a,b,"width=600, height=450, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0");return false}function openPopUp_670x500(a,b){window.open(a,b,"width=670, height=500, top=0, toolbar=0, location=0, directories=0, status=1, menuBar=0, scrollBars=1, resizable=0");return false}function blinkIt(){if(!document.all){return}else{for(i=0;i<document.all.tags("blink").length;i++){s=document.all.tags("blink")[i];s.style.visibility=(s.style.visibility=="visible")?"hidden":"visible"}}}function SymError(){return true}function Set_Cookie(c,e,a,h,d,g){var b=new Date();b.setTime(b.getTime());if(a){a=a*1000*60*60*24}var f=new Date(b.getTime()+(a));document.cookie=c+"="+escape(e)+((a)?";expires="+f.toGMTString():"")+((h)?";path="+h:"")+((d)?";domain="+d:"")+((g)?";secure":"")}function Get_Cookie(c){var d=document.cookie.indexOf(c+"=");var a=d+c.length+1;if((!d)&&(c!=document.cookie.substring(0,c.length))){return null}if(d==-1){return null}var b=document.cookie.indexOf(";",a);if(b==-1){b=document.cookie.length}return unescape(document.cookie.substring(a,b))}function Delete_Cookie(a,c,b){if(Get_Cookie(a)){document.cookie=a+"="+((c)?";path="+c:"")+((b)?";domain="+b:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}}function changeSize(c,a,b){document.getElementById(c).className=b+" "+b+"_"+a;Set_Cookie("text_size",a,30,"","","")}function changeSizeDir(a,c,e){var f=document.getElementById(a);var d=f.className;var b=parseInt(d.substr(d.length-2));if(isNaN(b)){b=12}if(c=="d"){b-=2}else{b+=2}if(b>=12&&b<=18){f.className=e+" "+e+"_"+b;Set_Cookie("text_size",b,30,"","","")}}function mostlyPage(b,d){mostly_type=b;var c=false;var a=this;var e="x_mostly.php?type="+b+"&page="+d;if(window.XMLHttpRequest){a.xmlHttpReq=new XMLHttpRequest()}else{if(window.ActiveXObject){a.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP")}}a.xmlHttpReq.open("GET",e,true);a.xmlHttpReq.setRequestHeader("Content-Type","application/x-javascript; charset=iso-8859-9");a.xmlHttpReq.onreadystatechange=function(){if(a.xmlHttpReq.readyState==4){mostlyLoad(b,a.xmlHttpReq.responseText)}};a.xmlHttpReq.send("");return false}function mostlyLoad(type,str){eval(str);document.getElementById("mostly_items_data_"+type).innerHTML=mostly_items;changeMostly(type,0)}function changeMostly(type,idx,link){eval("elm = mostly_data_"+type);if(typeof(window.elm)=="undefined"){return}document.getElementById("mostly_image_"+type).src=DURL+""+elm[idx]["image"]+"";document.getElementById("mostly_title_"+type).innerHTML='<a href="'+link+'">'+elm[idx]["title"]+"</a>";document.getElementById("mostly_short_content_"+type).innerHTML='<a href="'+link+'">'+elm[idx]["short_content"]+"</a>"}function goGazette(b,a){if(a==""){return false}window.open(b+"gazete-"+a+".htm","","");return true}function changeTarget(a){tmp=a.getElementsByTagName("a");for(i=0;i<tmp.length;i++){tmp[i].target="_top"}}function changeArticle(a){if(a!=""){window.location=a}}function getSWF(a,d,f,c,b,e){nameO="";nameE="";if(e){nameO=' id="'+e+'"';nameE=' name="'+e+'"'}ext="";str="<object"+nameO+' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+a+"  height="+d+">";str+='<param name="movie" value="'+f+'" /> ';if(b){str+='<param name="flashvars" value="'+b+'" /> ';ext+=' flashvars="'+b+'"'}str+='<param name="quality" value="high" /> ';str+='<param name="salign" value="TL" /> ';str+='<param name="wmode" value="'+c+'" /> ';str+='<param name="scale" value="noscale" /> ';str+='<param name="allowscriptaccess" value="always" /> ';str+="<embed"+nameE+' allowscriptaccess="always" salign="TL" src='+f+" width="+a+" height="+d+ext+" wmode="+c+' quality="high" pluginspage="http://www .macromedia.com/go/getflashplayer" type="application/x-shoc kwave-flash" scale="noscale"></embed> ';str+="</object> ";document.write(str)}function CM_headline(){this.data=null;this.name="";this.itemsName="";this.itemCount=0;this.isChangeable=1;this.currIndex=0;this.prevItem=-1;this.timeoutFunction="";this.timeoutIndex="";this.imageElement=null;this.titleElement=null;this.scElement=null;this.dateElement=null;this.changeItem=function(a){this.clearTimeout();this.currIndex+=a;if(this.currIndex>this.itemCount){this.currIndex=1}else{if(this.currIndex<1){this.currIndex=this.itemCount}}this.imageElement.innerHTML='<a href="'+this.data[this.currIndex]["l"]+'" target="_top"><img src="'+DURL+""+this.data[this.currIndex]["i"]+'" /></a>';this.titleElement.innerHTML='<a href="'+this.data[this.currIndex]["l"]+'">'+this.data[this.currIndex]["t"]+"</a>";if(this.scElement){this.scElement.innerHTML=this.data[this.currIndex]["sc"]}if(this.dateElement){this.dateElement.innerHTML=this.data[this.currIndex]["d"]}if(this.itemsName){document.getElementById(this.itemsName+this.currIndex).className="item item_act";if(this.prevItem!=-1){document.getElementById(this.itemsName+this.prevItem).className="item"}}this.prevItem=this.currIndex;if(this.isChangeable){this.timeoutIndex=setTimeout(this.timeoutFunction,8000)}};this.clearTimeout=function(){if(this.timeoutIndex!=""){clearTimeout(this.timeoutIndex);this.timeoutIndex=""}};this.jumpTo=function(a){if(a==this.prevItem){return}this.isChangeable=0;this.clearTimeout();this.changeItem(a-this.prevItem)};this.forwClick=function(){this.isChangeable=0;this.changeItem(1);return false};this.backClick=function(){this.isChangeable=0;this.changeItem(-1);return false};this.changeAuto=function(){this.isChangeable=1;this.timeoutFunction=this.name+".changeItem(1)";this.clearTimeout();this.timeoutIndex=setTimeout(this.timeoutFunction,8000)}}function loginSubmit(a){if(a.username.value==""){alert("Lütfen Kullanıcı Adınızı Girin!");a.username.focus();return false}if(a.password.value==""){alert("Lütfen Şifrenizi Girin!");a.password.focus();return false}return true}function showLogin(b,e,d,c){str="";if(b){str+='<div class="login_form">';str+='<table cellpadding="0" cellspacing="4">';str+="<tr>";str+='<td colspan="2">';str+='<div class="welcome">Hoşgeldiniz Sayın <b>'+d+"</b>;</div>";str+='<div class="explain">Son ziyaretiniz: '+c+"</div>";str+="</td>";str+="</tr>";str+="<tr>";str+="<td>";str+='<div class="link"><a href="'+baseURL+'member_welcome.php">Yönetim Paneli</a></div>';str+='<div class="link"><a href="'+baseURL+'member_logout.php">Oturum Kapat</a></div>';str+="</td>";str+="<td>";str+='<div class="link"><a href="'+baseURL+'member_edit_info.php">Bilgi Güncelle</a></div>';str+='<div class="link"><a href="'+baseURL+'member_change_pass.php">Şifre Değiştir</a></div>';str+="</td>";str+="</tr>";str+="</table>";str+="</div>"}else{str+='<div class="login_form">';str+='<form action="member_login.php" method="post" onsubmit="return loginSubmit(this);">';str+='<table cellpadding="0" cellspacing="4">';str+='<tr class="label">';str+="<td>Kullanıcı Adınız</td>";str+="<td>Şifreniz</td>";str+="</tr>";str+="<tr>";str+='<td><input type="text" name="username" class="input" maxlength="16" /></td>';str+='<td><input type="password" name="password" class="input pass" maxlength="16" /></td>';str+="</tr>";str+="<tr>";str+="<td>";str+='<div class="link"><a href="'+baseURL+'member_signup.php">Üye olmak istiyorum</a></div>';str+='<div class="link"><a href="'+baseURL+'member_lost_pass.php">Şifremi unuttum</a></div>';str+="</td>";str+='<td><input type="submit" value="Giriş" class="submit"></td>';str+="</tr>";str+="</table>";str+="</form>";str+="</div>"}var a=document.getElementById("loginbox_container");if(typeof("loginElm")!="undefined"){a.innerHTML=str}}v_font="Verdana";v_fontSize="11px";v_fontSizeNS4="11px";v_fontWeight="normal";v_fontColor="#fff";v_textDecoration="none";v_fontColorHover="#ffcd12";v_textDecorationHover="none";v_bgColor="transparent";v_top=0;v_left=0;v_width=300;v_height=21;v_paddingTop=0;v_paddingLeft=0;v_position="absolute";v_timeout=2500;v_slideSpeed=30;v_slideDirection=0;v_pauseOnMouseOver=true;v_slideStep=4;v_textAlign="left";v_textVAlign="middle";v_ua=navigator.userAgent;v_nS4=document.layers?1:0;v_iE=document.all&&!window.innerWidth&&v_ua.indexOf("MSIE")!=-1?1:0;v_oP=v_ua.indexOf("Opera")!=-1&&document.clear?1:0;v_oP7=v_oP&&document.appendChild?1:0;v_oP4=v_ua.indexOf("Opera")!=-1&&!document.clear;v_kN=v_ua.indexOf("Konqueror")!=-1&&parseFloat(v_ua.substring(v_ua.indexOf("Konqueror/")+10))<3.1?1:0;v_cur=1;v_cl=0;v_d=v_slideDirection?-1:1;v_TIM=0;v_fontSize2=v_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v_fontSizeNS4:v_fontSize;v_canPause=0;function v_getOS(b){return v_iE?document.all[b].style:v_nS4?document.layers.v_container.document.layers[b]:document.getElementById(b).style}function v_start(){var b,a;b=v_getOS("v_1");a=v_oP&&!v_oP7||v_nS4?0:"px";if(parseInt(b.top)==v_paddingTop){v_canPause=1;if(v_count>1){v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout)}return}b.top=(parseInt(b.top)-v_slideStep*v_d)*v_d>v_paddingTop*v_d?parseInt(b.top)-v_slideStep*v_d+a:v_paddingTop+a;if(v_oP&&b.visibility.toLowerCase()!="visible"){b.visibility="visible"}setTimeout("v_start()",v_slideSpeed)}function v_slide(){var c,b,a;c=v_getOS("v_"+v_cur);b=v_getOS("v_"+(v_cur<v_count?v_cur+1:1));a=v_oP&&!v_oP7||v_nS4?0:"px";if(parseInt(b.top)==v_paddingTop){if(v_oP){c.visibility="hidden"}c.top=v_height*v_d+a;v_cur=v_cur<v_count?v_cur+1:1;v_canPause=1;v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout);return}if(v_oP&&b.visibility.toLowerCase()!="visible"){b.visibility="visible"}if((parseInt(b.top)-v_slideStep*v_d)*v_d>v_paddingTop*v_d){c.top=parseInt(c.top)-v_slideStep*v_d+a;b.top=parseInt(b.top)-v_slideStep*v_d+a}else{c.top=-v_height*v_d+a;b.top=v_paddingTop+a}setTimeout("v_slide()",v_slideSpeed)}function v_init(){v_count=v_content.length;if(v_nS4||v_iE||v_oP||document.getElementById&&!v_kN&&!v_oP4){document.write("<style>.vnewsticker,a.vnewsticker{font-family:"+v_font+";font-size:"+v_fontSize2+";color:"+v_fontColor+";text-decoration:"+v_textDecoration+";font-weight:"+v_fontWeight+"}a.vnewsticker:hover{font-family:"+v_font+";font-size:"+v_fontSize2+";color:"+v_fontColorHover+";text-decoration:"+v_textDecorationHover+"}</style>");v_temp="<div "+(v_nS4?"name":"id")+"=v_container style='position:"+v_position+";top:"+v_top+"px;left:"+v_left+"px;width:"+v_width+"px;height:"+v_height+"px;line-height:"+v_height+"px;background:"+v_bgColor+";layer-background"+(v_bgColor.indexOf("url(")==0?"-image":"-color")+":"+v_bgColor+";clip:rect(0,"+v_width+","+v_height+",0);overflow:hidden'>"+(v_iE?"<div style='position:absolute;top:0px;left:0px;width:100%;height:100%;clip:rect(0,"+v_width+","+v_height+",0)'>":"");for(v_i=0;v_i<v_count;v_i++){v_temp+="<div "+(v_nS4?"name":"id")+"=v_"+(v_i+1)+" style='position:absolute;top:"+(v_height*v_d)+"px;left:"+v_paddingLeft+"px;width:"+(v_width-v_paddingLeft*2)+"px;height:"+(v_height-v_paddingTop*2)+"px;clip:rect(0,"+(v_width-v_paddingLeft*2)+","+(v_height-v_paddingTop*2)+",0);overflow:hidden"+(v_oP?";visibility:hidden":"")+";text-align:"+v_textAlign+"' class=vnewsticker>"+(!v_nS4?"<table width="+(v_width-v_paddingLeft*2)+" height="+(v_height-v_paddingTop*2)+" cellpadding=0 cellspacing=0 border=0><tr><td width="+(v_width-v_paddingLeft*2)+" height="+(v_height-v_paddingTop*2)+" align="+v_textAlign+" valign="+v_textVAlign+" class=vnewsticker>":"")+(v_content[v_i][0]!=""?"<a href='"+v_content[v_i][0]+"' class=vnewsticker"+(v_pauseOnMouseOver?' onmouseover=\'if(v_canPause&&v_count>1){clearTimeout(v_TIM);v_cl=1};window.status="";return true\' onmouseout=\'if(v_canPause&&v_count>1&&v_cl)v_TIM=setTimeout("v_canPause=0;v_slide();v_cl=0",'+v_timeout+")' onmouseover='if(v_canPause&&v_count>1){clearTimeout(v_TIM);v_cl=1};window.status=\""+v_content[v_i][1]+"\";return true'":"")+">":"<span"+(v_pauseOnMouseOver?" onmouseover='if(v_canPause&&v_count>1){clearTimeout(v_TIM);v_cl=1}' onmouseout='if(v_canPause&&v_count>1&&v_cl)v_TIM=setTimeout(\"v_canPause=0;v_slide();v_cl=0\","+v_timeout+")'":"")+">")+"<span class=time><b>"+v_content[v_i][1]+"</b></span> - "+v_content[v_i][2]+(v_content[v_i][0]!=""?"</a>":"</span>")+(!v_nS4?"</td></tr></table>":"")+"</div>"}v_temp+=(v_iE?"</div>":"")+"</div>";document.write(v_temp);setTimeout("v_start()",1000);if(v_nS4){onresize=function(){location.reload()}}}}TransMenu.spacerGif=SURL+"i/transmenu/x.gif";TransMenu.dingbatOn=SURL+"i/transmenu/arrow-on.gif";TransMenu.dingbatOff=SURL+"i/transmenu/arrow-off.gif";TransMenu.dingbatSize=8;TransMenu.menuPadding=1;TransMenu.itemPadding=6;TransMenu.shadowSize=0;TransMenu.shadowOffset=0;TransMenu.shadowColor="";TransMenu.shadowPng=SURL+"i/transmenu/grey-40.png";TransMenu.backgroundColor="#c90001";TransMenu.backgroundPng=SURL+"i/transmenu/white-90.png";TransMenu.hideDelay=120;TransMenu.slideTime=0;TransMenu.subpad_x=0;TransMenu.subpad_y=-2;TransMenu.reference={topLeft:1,topRight:2,bottomLeft:3,bottomRight:4};TransMenu.direction={down:1,right:2};TransMenu.registry=[];TransMenu._maxZ=100;TransMenu.updateImgPath=function(a){TransMenu.spacerGif=a+TransMenu.spacerGif;TransMenu.dingbatOn=a+TransMenu.dingbatOn;TransMenu.dingbatOff=a+TransMenu.dingbatOff;TransMenu.shadowPng=a+TransMenu.shadowPng;TransMenu.backgroundPng=a+TransMenu.backgroundPng};TransMenu.isSupported=function(){var b=navigator.userAgent.toLowerCase();var a=navigator.platform.toLowerCase();var d=navigator.appName;var c=false;if(b.indexOf("gecko")>-1&&navigator.productSub>=20020605){c=true}else{if(d=="Microsoft Internet Explorer"){if(document.getElementById){if(a.indexOf("mac")==0){c=/msie (\d(.\d*)?)/.test(b)&&Number(RegExp.$1)>=5.1}else{c=true}}}}return c};TransMenu.initialize=function(){for(var a=0,b=null;b=this.registry[a];a++){b.initialize()}};TransMenu.renderAll=function(){var b=[];for(var a=0,c=null;c=this.registry[a];a++){b[a]=c.toString()}document.write(b.join(""))};function TransMenu(t,q,m,U,T,Q){this.addItem=O;this.addMenu=o;this.toString=e;this.initialize=g;this.isOpen=false;this.show=F;this.hide=K;this.items=[];this.onactivate=new Function();this.ondeactivate=new Function();this.onmouseover=new Function();this.onqueue=new Function();this.ondequeue=new Function();this.index=TransMenu.registry.length;TransMenu.registry[this.index]=this;var E="TransMenu"+this.index;var H=null;var M=null;var L=null;var r=false;var j=[];var I=-1;var w=null;var f=false;var d=this;var S=null;var C=q==TransMenu.direction.down?"top":"left";var b=null;function O(W,Y,a,Z){var X=new TransMenuItem(W,Y,this,a,Z);X._index=this.items.length;this.items[X._index]=X}function o(W){if(!W.parentMenu==this){throw new Error("Cannot add a menu here")}if(L==null){L=new TransMenuSet(TransMenu.direction.right,TransMenu.subpad_x,TransMenu.subpad_y,TransMenu.reference.topRight)}var a=L.addMenu(W);j[W._index]=a;a.onmouseover=x;a.ondeactivate=u;a.onqueue=v;a.ondequeue=p;return a}function g(){y();h();V();f=true}function F(){if(f){d.isOpen=true;r=true;k();w.clip.style.visibility="visible";w.clip.style.zIndex=TransMenu._maxZ++;G();d.onactivate()}}function K(){if(f){d.isOpen=false;r=true;for(var a=0,W=null;W=w.item[a];a++){B(W)}if(L){L.hide()}G();d.ondeactivate();if(!t.parentMenu){t.className=t.className.replace(/ jahover-active/,"");t.className=t.className.replace(/ jahover/,"")}}}function k(){var W=t.constructor==TransMenuItem;var ab=W?t.parentMenu.elmCache.item[t._index]:t;var Y=ab;var ad=0;var ac=0;var aa=0;var X=(window.innerWidth?window.innerWidth:document.body.clientWidth)-parseInt(w.clip.style.width);var Z=0;var a=(window.innerHeight?window.innerHeight:document.body.clientHeight)-parseInt(w.clip.style.height);X=10000;a=10000;while(W?Y.parentNode.className.indexOf("transMenu")==-1:Y.offsetParent){ad+=Y.offsetLeft;ac+=Y.offsetTop;if(Y.scrollLeft){ad-=Y.scrollLeft}if(Y.scrollTop){ac-=Y.scrollTop}Y=Y.offsetParent}if(t.constructor==TransMenuItem){ad+=parseInt(Y.parentNode.style.left);ac+=parseInt(Y.parentNode.style.top)}switch(T){case TransMenu.reference.topLeft:break;case TransMenu.reference.topRight:ad+=ab.offsetWidth;break;case TransMenu.reference.bottomLeft:ac+=ab.offsetHeight;break;case TransMenu.reference.bottomRight:ad+=ab.offsetWidth;ac+=ab.offsetHeight;break}ad+=m;ac+=U;ad=Math.max(Math.min(ad,X),aa);ac=Math.max(Math.min(ac,a),Z);w.clip.style.left=ad+"px";w.clip.style.top=ac+"px"}function G(){var W=parseInt(w.content.style[C]);var a=d.isOpen?0:-b;if(S!=null){S.stop()}S=new Accelimation(W,a,TransMenu.slideTime,I);S.onframe=n;S.onend=D;S.start()}function n(a){w.content.style[C]=a+"px"}function D(){if(!d.isOpen){w.clip.style.visibility="hidden"}r=false}function V(){var a=w.items.offsetWidth;var X=w.items.offsetHeight;var W=navigator.userAgent.toLowerCase();w.clip.style.width=a+TransMenu.shadowSize+2+"px";w.clip.style.height=X+TransMenu.shadowSize+2+"px";w.content.style.width=a+TransMenu.shadowSize+"px";w.content.style.height=X+TransMenu.shadowSize+"px";H=X+TransMenu.shadowSize;M=a+TransMenu.shadowSize;b=q==TransMenu.direction.down?H:M;w.content.style[C]=-b-TransMenu.shadowSize+"px";w.clip.style.visibility="hidden";if(W.indexOf("mac")==-1||W.indexOf("gecko")>-1){w.background.style.width=a+"px";w.background.style.height=X+"px";w.background.style.backgroundColor=TransMenu.backgroundColor;w.shadowRight.style.left=a+"px";w.shadowRight.style.height=X-(TransMenu.shadowOffset-TransMenu.shadowSize)+"px";w.shadowRight.style.backgroundColor=TransMenu.shadowColor;w.shadowBottom.style.top=X+"px";w.shadowBottom.style.width=a-TransMenu.shadowOffset+"px";w.shadowBottom.style.backgroundColor=TransMenu.shadowColor}else{w.background.firstChild.src=TransMenu.backgroundPng;w.background.firstChild.width=a;w.background.firstChild.height=X;w.shadowRight.firstChild.src=TransMenu.shadowPng;w.shadowRight.style.left=a+"px";w.shadowRight.firstChild.width=TransMenu.shadowSize;w.shadowRight.firstChild.height=X-(TransMenu.shadowOffset-TransMenu.shadowSize);w.shadowBottom.firstChild.src=TransMenu.shadowPng;w.shadowBottom.style.top=X+"px";w.shadowBottom.firstChild.height=TransMenu.shadowSize;w.shadowBottom.firstChild.width=a-TransMenu.shadowOffset}}function y(){var X=document.getElementById(E);var W=X.all?X.all:X.getElementsByTagName("*");w={};w.clip=X;w.item=[];for(var a=0,Y=null;Y=W[a];a++){switch(Y.className){case"items":case"content":case"background":case"shadowRight":case"shadowBottom":w[Y.className]=Y;break;case"item":Y._index=w.item.length;w.item[Y._index]=Y;break}}d.elmCache=w}function h(){for(var a=0,W=null;W=w.item[a];a++){W.onmouseover=z;W.onmouseout=l;W.onclick=c}if(typeof t.tagName!="undefined"){t.onmouseover=J;t.onmouseout=N}w.content.onmouseover=R;w.content.onmouseout=A}function P(a){a.className="item hover";if(j[a._index]){a.lastChild.firstChild.src=TransMenu.dingbatOn}}function B(a){a.className="item";if(j[a._index]){a.lastChild.firstChild.src=TransMenu.dingbatOff}}function z(){if(!r){P(this);if(j[this._index]){L.showMenu(j[this._index])}else{if(L){L.hide()}}}}function l(){if(!r){if(j[this._index]){L.hideMenu(j[this._index])}else{B(this)}}}function c(){if(!r){if(d.items[this._index].url){switch(d.items[this._index].browserNav){case 1:window.open(d.items[this._index].url,"","");break;case 2:window.open(d.items[this._index].url,"","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550");break;case 3:break;default:location.href=d.items[this._index].url;break}}}}function J(){Q.showMenu(d);if(!t.parentMenu){if(t.className.indexOf(" jahover")<0){if(t.className.indexOf("-active")<0){t.className+=" jahover"}else{t.className+=" jahover-active"}}}}function N(){Q.hideMenu(d)}function R(){if(!r){Q.showMenu(d);d.onmouseover()}}function A(){if(!r){Q.hideMenu(d)}}function x(){if(!r){Q.showMenu(d)}}function u(){for(var a=0;a<j.length;a++){if(j[a]==this){B(w.item[a]);break}}}function v(){Q.hideMenu(d)}function p(){Q.showMenu(d)}function e(){var a=[];var W="transMenu"+(t.constructor!=TransMenuItem?" top":"");for(var X=0,Y=null;Y=this.items[X];X++){a[X]=Y.toString(j[X])}return'<div id="'+E+'" class="'+W+'"><div class="content"><table class="items" cellpadding="0" cellspacing="0" border="0"><tr><td colspan="2" style="margin: 0px; padding: 0px; height: '+TransMenu.menuPadding+"px; line-height: "+TransMenu.menuPadding+'px;"></td></tr>'+a.join("")+'<tr><td colspan="2" style="margin: 0px; padding: 0px; height: '+TransMenu.menuPadding+"px; line-height: "+TransMenu.menuPadding+'px;"></td></tr></table><div class="shadowBottom"><img src="'+TransMenu.spacerGif+'" width="1" height="1"></div><div class="shadowRight"><img src="'+TransMenu.spacerGif+'" width="1" height="1"></div><div class="background"><img src="'+TransMenu.spacerGif+'" width="1" height="1"></div></div></div>'}}TransMenuSet.registry=[];function TransMenuSet(o,g,e,d){this.addMenu=b;this.showMenu=m;this.hideMenu=l;this.hide=h;this.hideCurrent=c;var f=[];var j=this;var k=null;this.index=TransMenuSet.registry.length;TransMenuSet.registry[this.index]=this;function b(q){var p=new TransMenu(q,o,g,e,d,this);f[f.length]=p;return p}function m(p){if(p!=k){if(k!=null){h(k)}k=p;p.show()}else{n(p)}}function l(p){if(k==p&&p.isOpen){if(!p.hideTimer){a(p)}}}function a(p){p.onqueue();p.hideTimer=window.setTimeout("TransMenuSet.registry["+j.index+"].hide(TransMenu.registry["+p.index+"])",TransMenu.hideDelay)}function n(p){if(p.hideTimer){p.ondequeue();window.clearTimeout(p.hideTimer);p.hideTimer=null}}function h(p){if(!p&&k){p=k}if(p&&k==p&&p.isOpen){c()}}function c(){if(null!=k){n(k);k.hideTimer=null;k.hide();k=null}}}function TransMenuItem(b,c,f,a,e){this.toString=d;this.text=b;this.url=c;this.browserNav=a;this.parentMenu=f;this.active=e;function d(g){var k=g?TransMenu.dingbatOff:TransMenu.spacerGif;var j=TransMenu.itemPadding+TransMenu.menuPadding;var l="padding:"+TransMenu.itemPadding+"px; padding-left:"+j+"px;";var h="padding:"+TransMenu.itemPadding+"px; padding-right:"+j+"px;";var m=e?' id="active" ':"";return'<tr class="item"'+m+'><td nowrap style="'+l+'">'+b+"</td></tr>"}}function Accelimation(d,c,b,a){if(typeof a=="undefined"){a=0}if(typeof unit=="undefined"){unit="px"}this.x0=d;this.x1=c;this.dt=b;this.zip=-a;this.unit=unit;this.timer=null;this.onend=new Function();this.onframe=new Function()}Accelimation.prototype.start=function(){this.t0=new Date().getTime();this.t1=this.t0+this.dt;var a=this.x1-this.x0;this.c1=this.x0+((1+this.zip)*a/3);this.c2=this.x0+((2+this.zip)*a/3);Accelimation._add(this)};Accelimation.prototype.stop=function(){Accelimation._remove(this)};Accelimation.prototype._paint=function(b){if(b<this.t1){var a=b-this.t0;this.onframe(Accelimation._getBezier(a/this.dt,this.x0,this.x1,this.c1,this.c2))}else{this._end()}};Accelimation.prototype._end=function(){Accelimation._remove(this);this.onframe(this.x1);this.onend()};Accelimation._add=function(b){var a=this.instances.length;this.instances[a]=b;if(this.instances.length==1){this.timerID=window.setInterval("Accelimation._paintAll()",this.targetRes)}};Accelimation._remove=function(b){for(var a=0;a<this.instances.length;a++){if(b==this.instances[a]){this.instances=this.instances.slice(0,a).concat(this.instances.slice(a+1));break}}if(this.instances.length==0){window.clearInterval(this.timerID);this.timerID=null}};Accelimation._paintAll=function(){var a=new Date().getTime();for(var b=0;b<this.instances.length;b++){this.instances[b]._paint(a)}};Accelimation._B1=function(a){return a*a*a};Accelimation._B2=function(a){return 3*a*a*(1-a)};Accelimation._B3=function(a){return 3*a*(1-a)*(1-a)};Accelimation._B4=function(a){return(1-a)*(1-a)*(1-a)};Accelimation._getBezier=function(e,d,c,b,a){return c*this._B1(e)+a*this._B2(e)+b*this._B3(e)+d*this._B4(e)};Accelimation.instances=[];Accelimation.targetRes=10;Accelimation.timerID=null;if(window.attachEvent){var cearElementProps=["data","onmouseover","onmouseout","onmousedown","onmouseup","ondblclick","onclick","onselectstart","oncontextmenu"];window.attachEvent("onunload",function(){var a;for(var b=document.all.length;b--;){a=document.all[b];for(var e=cearElementProps.length;e--;){a[cearElementProps[e]]=null}}})};
