var wdTopbar=function(){var O=false;if(document.all){O=true}this.init=R;this.createTopbar=X;this.showLangDiv=H;this.hideLangDiv=A;this.hideLangDivTimer=W;this.blurLangDiv=E;this.propScroll=G;this.blurLangDiv2=F;this.rollLang=V;this.hoverTxt=K;this.rolloutTxt=L;var J="http://topbar.webdunia.com/images/v1/";var Q="hindi";var B="HI";var T="hi-IN";var S;var I;var C=false;var U=false;function K(Y){Y.style.textDecoration="underline"}function L(Y){Y.style.textDecoration="none"}function G(Y){if(Y=="nxt"){document.getElementById("nxtBtn").src=J+"wdctb_nxt_inactive.gif";document.getElementById("prvBtn").src=J+"wdctb_prv.gif";document.getElementById("nxtBtn").style.cursor="auto";document.getElementById("prvBtn").style.cursor="pointer";document.getElementById("propDiv").style.marginLeft="-530px"}else{if(Y=="prv"){document.getElementById("prvBtn").src=J+"wdctb_prv_inactive.gif";document.getElementById("nxtBtn").src=J+"wdctb_nxt.gif";document.getElementById("prvBtn").style.cursor="auto";document.getElementById("nxtBtn").style.cursor="pointer";document.getElementById("propDiv").style.marginLeft="0px"}}}function H(){var Y=document.getElementById("dvFake");var b=document.getElementById("langDiv");b.style.display="block";var Z=parseInt(Y.clientWidth)+parseInt(Y.offsetLeft);var a=0;if(O){a=document.body.offsetWidth}else{a=window.innerWidth;if(window.scrollMaxY<=0){a+=10}}a=a-Z;if(!O){b.style.marginRight=a.toString()+"px"}else{b.style.right=a.toString()+"px"}}function A(){document.getElementById("langDiv").style.display="none"}function W(){if(!C){document.getElementById("langDiv").style.display="none"}}var M;function E(){C=true;clearTimeout(S)}function F(){C=false;S=setTimeout("objTopbar.hideLangDivTimer();",4000)}function V(){C=true;clearTimeout(S)}var D=navigator.userAgent;var N=D.toString();var P='<style type="text/css">.wctb_link:hover{text-decoration:underline}</style><div style="color:#ccc;background-image:url('+J+'ctb_bg.gif); background-repeat:repeat-x;height:32px;background-color:#bbb;border-bottom:1px solid #c3c2c2;font-family:Verdana, Arial, Helvetica, sans-serif!important; font-size:11px!important;"><table cellpadding="0" cellspacing="0" border="0" style="width:990px;margin:0 auto;background-image:url('+J+'ctb_bg.gif); background-repeat:repeat-x;background-color:#bbb;" align="center"><tr><td style="height:32px;line-height:32px; background:url('+J+'wdctb_srv.gif); color:#fff;padding-left:4px; padding-right:4px;"><img src="'+J+'wd_logo.gif" height="23" width="22" border="0" align="absmiddle" /> <a href="http://'+Q+'.webdunia.com" target="_blank" style="color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px!important;text-decoration:none">Webdunia</a></td><td style="background:url('+J+'wd_miscIco.gif); width:8px;"></td><td>&nbsp;</td><td nowrap="nowrap" align="right"><div style="overflow:hidden;width:650px"><div id="propDiv"><table id="tblProp"><tr><td nowrap="nowrap"><a href="http://www.24dunia.com/'+Q+'.html"  target="_blank" alt="24dunia" title="24dunia" style="color:#fff;text-decoration:none;font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> 24dunia</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://videos.mywebdunia.com/" target="_blank" alt="Videos" title="Videos" style="color:#fff;text-decoration:none;font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Videos</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://search.webdunia.com/'+Q+'.html" target="_blank" alt="Search" title="Search" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Search</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://greetings.webdunia.com/'+Q+'.html"  target="_blank" alt="Greetings" title="Greetings" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Greetings</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://'+Q+'.mywebdunia.com/"  alt="MyWebdunia" title="MyWebdunia" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> MyWebdunia</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://games.webdunia.com/2/'+ B +'/index.htm"  target="_blank" alt="Games" title="Games" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Games</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://dosti.webdunia.com/default.aspx?c='+T+'" target="_blank" alt="Dosti" title="Dosti...where everyone is a friend." style="color:#fff;text-decoration:none;font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Dosti</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://cricket.webdunia.com/'+Q+'.html"  target="_blank" alt="Cricket" title="Cricket" style="color:#fff;text-decoration:none;font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Cricket</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://quiz.webdunia.com/index.aspx?LangId=2"  target="_blank" alt="Quiz" title="Quiz" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Quiz</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://calendar.webdunia.com/langchange.php?pref_lang=none" target="_blank" alt="Calendar" title="Calendar" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Calendar</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://mail.webdunia.com/langchange.php?pref_lang=none" alt="Mail" title="Mail" target="_blank" style="color:#fff;text-decoration:none;font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Mail</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://mobile.webdunia.com" target="_blank" alt="Mobile" title="Mobile" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Mobile</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://quest.webdunia.com/'+Q+'/2/index.html"  target="_blank" alt="Quest" title="Quest" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Quest</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://classifieds.webdunia.com/'+Q+'" target="_blank" alt="Classifieds" title="Classifieds" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Classifieds</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" /><a href="http://utilities.webdunia.com/" target="_blank" alt="Utilities" title="Small yet highly useful tools" style="color:#fff;text-decoration:none; font-size:12px!important;font-family:verdana;"><img src="'+J+'bullet.gif" height="8" width="7" border="0" /> Utilities</a><img src="'+J+'seperator_img.gif" height="10" width="22" border="0" />        </td></tr></table>        </div></div>            </td><td style="width:20px;"><img id="prvBtn" src="'+J+'wdctb_prv_inactive.gif" height="30" width="10" border="0" onclick="objTopbar.propScroll(\'prv\')" /><img id="nxtBtn" src="'+J+'wdctb_nxt.gif" height="30" width="10" border="0" onclick="objTopbar.propScroll(\'nxt\')" style="cursor:pointer" /></td><td><table cellpadding="0" cellspacing="0" border="0" align="right"><tr><td style="background:url('+J+'wdctb_lc.gif); width:5px; height:30px;"></td><td style="background:url('+J+'wdctb_bg_small.gif);" nowrap="nowrap"><div id="dvFake" style="z-index:-1;position:absolute;width:110px;height:1px;background:#fff;"></div> <a href="javascript:void(0);" onclick="javascript:objTopbar.showLangDiv();objTopbar.blurLangDiv2();" onmouseover="window.status=\'Change Language\';return true;" onmouseout="window.status=\'\';return true;"  style="color:#ae0000;text-decoration:none;margin-right:10px; margin-left:5px;font-family:verdana; font-size:11px!important;"><span id="wdctbSpCL" class="wctb_link" onmouseover="objTopbar.hoverTxt(this)" onmouseout="objTopbar.rolloutTxt(this)">Change Language</span></a><a href="http://utilities.webdunia.com/downloadZone.php" target="_blank" onmouseover="window.status=\'Download\';return true;" onmouseout="window.status=\'\';return true;"  style="color:#000;text-decoration:none; margin-right:5px;font-family:verdana; font-size:11px!important;"><span class="wctb_link" onmouseover="objTopbar.hoverTxt(this)" onmouseout="objTopbar.rolloutTxt(this)">Download</span></a></td><td style="background:url('+J+'wdctb_rc.gif); width:5px;"></td></tr></table></td></tr></table><div style="width:990px!important;margin:0 auto!important;"><div id="langDiv" style="position:absolute;z-index:2000;right:0px;padding:2px 4px 4px 2px;background:#333;display:none; width:auto; margin-top:-2px;" onblur="objTopbar.blurLangDiv()" onmouseout="objTopbar.blurLangDiv2();" onmouseover="objTopbar.rollLang();"><a href="#" id="langSpl" onblur="objTopbar.blurLangDiv()" style="color:#fff; text-decoration:none;"></a><table cellpadding="0" cellspacing="0" border="0"><tr><td nowrap="nowrap" style="font-family:verdana!important; font-size:11px!important; line-height:13px!important;color:#ccc!important;"><a href="http://english.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">English</a> | <a href="http://hindi.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Hindi</a> | <a href="http://tamil.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Tamil</a> | <a href="http://Gujarati.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Gujarati</a> | <a href="http://Punjabi.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Punjabi</a> | <a href="http://Bengali.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Bengali</a> | <a href="http://Kannada.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Kannada</a> | <a href="http://Telugu.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Telugu</a> | <a href="http://Marathi.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Marathi</a> | <a href="http://Malayalam.mywebdunia.com/" onclick="objTopbar.hideLangDiv()" style="color:#fff; text-decoration:none;">Malayalam</a> </td></tr></table></div></div></div>';function R(Y){objTopbar.createTopbar(Y)}function X(Y){var Z=document.getElementById(Y);if(Z!=null){Z.innerHTML=P;if(N.indexOf("Chrome")!=-1){document.getElementById("tblProp").style.float="Left"}}}};var objTopbar=new wdTopbar();objTopbar.init("wdTopbar");