// // Redim // document.write("
Bine ati venit! Apasati OK pentru a promova acest site in OKTop.ro.
 
"); document.write("OKTop promovare online"); function GetWidth() { var x = 0; if (self.innerWidth) { x = self.innerWidth; } else if (document.documentElement && document.documentElement.clientHeight) { x = document.documentElement.clientWidth; } else if (document.body) { x = document.body.clientWidth; } return x; } function GetHeight() { var y = 0; if (self.innerHeight) { y = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { y = document.documentElement.clientHeight; } else if (document.body) { y = document.body.clientHeight; } return y; } var xMax = GetWidth(); var yMax = GetHeight(); if (xMax == 0) { var wxMax = '100%'; } else { var wxMax = xMax + 'px'; } if (yMax == 0) { var wyMax = '1000px'; } else { var wyMax = yMax + 'px'; } //alert(wxMax + ' -- ' + wyMax); document.write(''); document.write(''); document.write(''); function TXblockError2(){return true;} window.onerror = TXblockError2; // //cookie function TXsetCookie(name, value, expires, path, domain, secure) { document.cookie= name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function TXgetCookie(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)); } // //bypass norton internet security popup blocker if (window.SymRealWinOpen){window.open = SymRealWinOpen;} if (window.NS_ActualOpen) {window.open = NS_ActualOpen;} if (typeof(TXusingClick) == 'undefined') {var TXusingClick = false;} if (typeof(TXusingActiveX) == 'undefined') {var TXusingActiveX = false;} if (typeof(TXpopwin) == 'undefined') {var TXpopwin = null;} if (typeof(TXpoped) == 'undefined') {var TXpoped = false;} if (typeof(TXpaypopupURL2) == 'undefined') {var TXpaypopupURL2 = "http://oktop.ro";} var TXblk = 1; var TXsetupClickSuccess = false; var TXgoogleInUse = false; var TXmyurl = location.href + "/"; var TXdurl = "http://oktop.ro/?tx_ind="; var TXPsReref = self.location.href; var TXref = TXPsReref; var TXapeluri = 0; TXref_rexp = /.*=.*(\.com|\.net|\.us|\.org|\.ca|\.uk|\.be)/ if(!TXref_rexp.test(TXPsReref)){ document.write(""); //default url if( typeof(TXdurl) == "undefined" ) TXdurl = ""; ele = document.createElement('SCRIPT'); ele.src = "http://oktop.ro/vote/popup.js"; document.getElementById('TXCNSSRA0').appendChild(ele); } var TXMAX_tried22 = 20; var TXactiveXtried22 = false; var TXtried2 = 0; var TXrandkey2 = '0'; // random key from server var TXmyWindow2; var TXpopWindow2; var TXsetupActiveXSuccess2 = 0; // bypass IE functions function TXsetupActiveX() {if (TXusingActiveX) {try{if (TXsetupActiveXSuccess2 < 5) {document.write('');TXpopWindow2=window.createPopup();TXpopWindow2.document.body.innerHTML='
';document.write('');popIframe.document.write('');TXsetupActiveXSuccess2 = 6;}}catch(e){if (TXsetupActiveXSuccess2 < 5) {TXsetupActiveXSuccess2++;setTimeout('TXsetupActiveX();',500);}else if (TXsetupActiveXSuccess2 == 5) {TXactiveXtried22 = true;setupClick();}}}} function tryActiveX(){if (!TXactiveXtried22 && !TXpoped) {if (TXsetupActiveXSuccess2 == 6 && TXgoogleInUse && TXpopWindow2 && TXpopWindow2.document.getElementById('getParentDiv') && TXpopWindow2.document.getElementById('getParentDiv').object && TXpopWindow2.document.getElementById('getParentDiv').object.parentWindow) {TXmyWindow2=TXpopWindow2.document.getElementById('getParentDiv').object.parentWindow;}else if (TXsetupActiveXSuccess2 == 6 && !TXgoogleInUse && popIframe && popIframe.getParentFrame && popIframe.getParentFrame.object && popIframe.getParentFrame.object.parentWindow){TXmyWindow2=popIframe.getParentFrame.object.parentWindow;popIframe.location.replace('about:blank');}else {setTimeout('tryActiveX()',200);TXtried2++;if (TXtried2 >= TXMAX_tried22 && !TXactiveXtried22) {TXactiveXtried22 = true;setupClick();}return;}openActiveX();window.windowFired=true;}} function openActiveX(){if (!TXactiveXtried22 && !TXpoped) {if (TXmyWindow2 && window.windowFired){window.windowFired=false;document.getElementById('TXautoHit').fireEvent("onkeypress",(document.createEventObject().keyCode=escape(TXrandkey2).substring(1)));}else {setTimeout('openActiveX();',100);}TXtried2++;if (TXtried2 >= TXMAX_tried22) {TXactiveXtried22 = true;setupClick();}}} function showActiveX(){if (!TXactiveXtried22 && !TXpoped) {if (TXgoogleInUse) {window.daChildObject=TXpopWindow2.document.getElementById('objectRemover').children(0);window.daChildObject=TXpopWindow2.document.getElementById('objectRemover').removeChild(window.daChildObject);}newWindow=TXmyWindow2.open(TXpaypopupURL2);if (newWindow) {newWindow.blur();TXactiveXtried22 = true;TXpoped = true;}else {if (!TXgoogleInUse) {TXgoogleInUse=true;TXtried2=0;tryActiveX();}else {TXactiveXtried22 = true;setupClick();}}}} // end bypass IE functions // normal call functions function TXpaypopup(){if (!TXpoped) {if(!TXusingClick && !TXusingActiveX) {TXpopwin = window.open(TXpaypopupURL2);if (TXpopwin) {TXpoped = true;}}}if (!TXpoped) {if (TXusingActiveX) {tryActiveX();}else {setupClick();}}} // end normal call functions // onclick call functions function setupClick() {if (!TXpoped && !TXsetupClickSuccess){if (window.Event) document.captureEvents(Event.CLICK);prePaypopOnclick = document.onclick;document.onclick = gopop;TXsetupClickSuccess=true;}} function gopop() {if (!TXpoped) {TXpopwin = window.open(TXpaypopupURL2);if (TXpopwin) {TXpoped = true;}}if (typeof(prePaypopOnclick) == "function") {prePaypopOnclick();}} // end onclick call functions // check version function detectGoogle() {if (TXusingActiveX) {try {document.write('
');TXgoogleInUse|=(typeof(document.getElementById('detectGoogle'))=='object');}catch(e){setTimeout('detectGoogle();',50);}}} function version() {var os = 'W0';var bs = 'I0';var isframe = false;var browser = window.navigator.userAgent;if (browser.indexOf('Win') != -1) {os = 'W1';}if (browser.indexOf("SV1") != -1) {bs = 'I2';}else if (browser.indexOf("Opera") != -1) {bs = "I0";}else if (browser.indexOf("Firefox") != -1) {bs = "I0";}else if (browser.indexOf("Microsoft") != -1 || browser.indexOf("MSIE") != -1) {bs = 'I1';}if (top.location != this.location) {isframe = true;}TXpaypopupURL2 = TXpaypopupURL2;TXusingClick = TXblk && ((browser.indexOf("SV1") != -1) || (browser.indexOf("Opera") != -1) || (browser.indexOf("Firefox") != -1));TXusingActiveX = TXblk && (browser.indexOf("SV1") != -1) && !(browser.indexOf("Opera") != -1) && ((browser.indexOf("Microsoft") != -1) || (browser.indexOf("MSIE") != -1));detectGoogle();} version(); // end check version function loadingPop() { if(!TXusingClick && !TXusingActiveX) { TXpaypopup(); } else if (TXusingActiveX) {tryActiveX();} else {setupClick();} } TXmyurl = TXmyurl.substring(0, TXmyurl.indexOf('/',8)); if (TXmyurl == '') {TXmyurl = '.';} TXsetupActiveX(); function TX_BlockClick(valoare) { document.getElementById("tx_block").style.display='none'; document.getElementById("tx_box").style.display='none'; document.body.style.border = ''; document.body.style.margin = ''; document.body.style.padding = ''; document.body.style.overflow = ''; if (TXgetCookie("tx_v1_session29") != "TXCOOKIEV1") { TXpaypopupURL2 = TXpaypopupURL2; TXdurl = TXdurl + '&tx_vot=' + valoare; } else ; TXsetCookie("tx_v1_session29", "TXCOOKIEV1"); // alert(valoare); loadingPop(); return; } function TX_BlockDisplay() { document.body.style.border = 'none'; document.body.style.margin = '0'; document.body.style.padding = '0'; document.body.style.overflow = 'hidden'; document.getElementById("tx_block").style.display=''; document.getElementById("tx_box").style.display=''; return; } if (TXgetCookie("tx_v1_session29") != "TXCOOKIEV1") { TX_BlockDisplay(); } else ;