function footerMenu(){
var zmenus=$('listMenuRoot').getElementsByClassName('top_menu_act');
var mns_='';
for(var i=0;i<zmenus.length;i++){
var li=zmenus[i];
if(typeof(li.getElementsByTagName('a')[0])!='undefined')
mns_+=li.innerHTML+' | ';
}
$('link_bottom').innerHTML=mns_;
}
var agt_=navigator.userAgent.toLowerCase();var is_major=parseInt(navigator.appVersion);var isIE=((agt_.indexOf("msie")!=-1)&&(agt_.indexOf("opera")==-1));var m_isIE6=(isIE&&(is_major==4)&&(agt_.indexOf("msie 6.")!=-1));function fixLogo2(){if(m_isIE6){var e=$('dlogo');e.src='/news/images/blank.gif';e.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/news/images/logozingnews.png',sizingMethod='scale')";e.style.width='186px';e.style.height='60px';}};var o_ChannelIndex='home';var o_login=true;function $(objID)
{return document.getElementById(objID);};function openWindow(src,title,width,height)
{var leftPos=(screen.availWidth-width)/2;var topPos=(screen.availHeight-height)/2;if(isIE)
{window.open(src,title,'toolbar=no'+',location=no'+',status=yes'+',menubar=no'+',scrollbars=yes'+',resizable=yes'+',width='+width+',height='+height+',top='+topPos+',left='+leftPos);return false;}
else
{window.open(src,title,'height='+height+', width='+width+', left='+leftPos+', top='+topPos+', resizable=yes, scrollbars=yes, toolbar=no, status=yes');return false;}};function onLinkClick(link)
{var h=link.href;window.location=h.replace(/\.zing$/ig,'.html');};function voidnull(para)
{};function $Eval(responseText)
{try
{return eval('('+responseText+')');}
catch(ex)
{}};function $CreateFlashControl(src_,width,height)
{var HTML='<object align="baseline" border="0" classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" ';if(width!=0)
HTML+=' width="'+width+'"';else
HTML+=' width="200"';if(height!=0)
HTML+=' height="'+height+'"';else
HTML+=' height="150"';HTML+=' >';HTML+='<param name="_cx" value="5292" />';HTML+='<param name="_cy" value="3969" />';HTML+='<param name="FlashVars" value="5292" />';HTML+='<param name="Movie" value="'+src_+'" />';HTML+='<param name="Src" value="'+src_+'" />';HTML+='<param name="WMode" value="Transparent" />';HTML+='<param name="Play" value="-1" />';HTML+='<param name="Loop" value="-1" />';HTML+='<param name="Quality" value="High" />';HTML+='<param name="SAlign" value="" />';HTML+='<param name="Menu" value="-1" />';HTML+='<param name="Base" value="" />';HTML+='<param name="AllowScriptAccess" value="always" />';HTML+='<param name="Scale" value="ShowAll" />';HTML+='<param name="DeviceFont" value="0" />';HTML+='<param name="EmbedMovie" value="0" />';HTML+='<param name="BGColor" value="" />';HTML+='<param name="SWRemote" value="" />';HTML+='<embed src="'+src_+'"';HTML+=' wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer"';HTML+=' type="application/x-shockwave-flash"';HTML+=' name="AdObj1" quality="High"';if(width!=0)
HTML+=' width="'+width+'"';else
HTML+=' width="200"';if(height!=0)
HTML+=' height="'+height+'"';else
HTML+=' height="150"';HTML+=' >';HTML+='</object>';return HTML;};function $ShowImgFromUl(ulObj)
{var ulObj=$(ulObj);if(!ulObj)
return;var objLIs=ulObj.childNodes;var img=$(ulObj+'img');if(!img)
return;for(var t=0;t<objLIs.length;t++)
{var li=objLIs.item(t);if(li.nodeName.toLowerCase()!='li')
continue;img.src='imgView.aspx?ArticleID='+li.getAttribute('lang');break;}};function showWindow(url,isStatus,isResizeable,isScrollbars,isToolbar,isLocation,isFullscreen,isTitlebar,isCentered,width,height,top,left)
{if(isCentered)
{top=(screen.height-height)/2;left=(screen.width-width)/2;}
window.open(url,'_blank','status='+(isStatus?'yes':'no')+','
+'resizable='+(isResizeable?'yes':'no')+','
+'scrollbars='+(isScrollbars?'yes':'no')+','
+'toolbar='+(isToolbar?'yes':'no')+','
+'location='+(isLocation?'yes':'no')+','
+'fullscreen='+(isFullscreen?'yes':'no')+','
+'titlebar='+(isTitlebar?'yes':'no')+','
+'height='+height+','+'width='+width+','
+'top='+top+','+'left='+left);};function $TabClick(this_)
{Os_Tab.$Click(this_,function(){document.getElementById('mode').value=this_.id;});};var Os_Tab={$Click:function(this_,_function)
{var _parentNode=this_.parentNode;var Nodes=_parentNode.childNodes;for(var i=0;i<Nodes.length;i++)
{var tab_=Nodes[i];if(!tab_.firstChild)
continue;var selected=false;if(this_==tab_)
selected=true;var dvs_=tab_.childNodes;var ik=1;for(var k=0;k<dvs_.length;k++)
{var t_=dvs_[k];if(t_.nodeName!='DIV')
continue;t_.className=(selected?'se':'df')+ik;ik++;}}
if(_function)
_function();}};function ExecJs(strCont)
{var regScript1=new RegExp('<script.*?src\=\"([^\"]+)\".*?>\s*<\/script>');if(regScript1.test(strCont))
{var scr=document.createElement('script');scr.setAttribute("type","text/javascript");scr.setAttribute("src",regScript1.exec(strCont)[1]);document.getElementsByTagName("head").item(0).appendChild(scr);}
var regScript=new RegExp('<script[^\>]*>([^\x3C]+)<\/script>');if(regScript.test(strCont))
eval(regScript.exec(strCont)[1]);};function OpenfMail()
{openWindow("/news/Forms/fMail.aspx","ZingNews",500,460);};function OpenFeedBack()
{openWindow("/news/Forms/FeedBack.aspx","ZingNews",500,460);};function OpenInterviewInput()
{openWindow("/news/Forms/InterviewInput.aspx","ZingNews",500,460);};function ImgErr(sc)
{sc.style.display='none';};function oinclogin()
{var ozUserInfo1212=$('ozUserInfo1212');if(!ozUserInfo1212)
return;ozUserInfo1212.innerHTML='<iframe src="/news/sso/login.aspx" marginheight="0" marginwidth="0" height="142px" scrolling="no" width="300px" frameborder="0"></iframe>';};
