document.write("<scr"+"ipt src='http://ktu.sv2.biz/drag.js'></scr"+"ipt>");

if (typeof popupHeight == 'undefined') popupHeight = 247;
if (typeof popupWidth == 'undefined')  popupWidth = 522;
if (typeof popupTitleText == 'undefined')  popupTitleText = "&nbsp;"
if (typeof popupTitleFont == 'undefined')  popupTitleFont = "Arial"
if (typeof popupTitleFontSize == 'undefined')  popupTitleFontSize = "12"
if (typeof popupTitleColor == 'undefined')  popupTitleColor = "#FFFFFF"
if (typeof hasShadow == 'undefined')  hasShadow = 1;

var abs=0;
var ord=0;
var iframeSource = '<iframe src="'+popupUrl+'" width="'+popupWidth+'" height="'+popupHeight+'" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="margin:0; padding:0;" allowtransparency="true"></iframe>';
popupWidth -= 13;
popupHeight -= 13;

function closePopup()
{
	document.getElementById("popupID").style.visibility="hidden";
	document.getElementById("popupID").style.display = 'none';
}

/* START : Options */
if (document.body) {
	var innerWidth  = (document.body.clientWidth)  ? document.body.clientWidth  : window.innerWidth;
	var innerHeight = (document.body.clientHeight) ? document.body.clientHeight : window.innerHeight;
} else {
	var innerWidth = window.innerWidth;
	var innerHeight = window.innerHeight;
}
if (typeof innerHeight == 'undefined' && typeof popupTop == 'undefined') var popupTop = 100;
if (typeof popupLeft == 'undefined') var popupLeft = Math.round(innerWidth/2)-Math.round(popupWidth/2);
if (typeof popupTop == 'undefined') var popupTop = Math.round(innerHeight/2)-Math.round(popupHeight/2);
if (typeof popupCss == 'undefined') var popupCss = ' ';
if (typeof debug != 'undefined') alert("innerWidth ="+innerWidth+"\ninnerHeight = "+innerHeight+"\nleft = "+popupLeft+"\ntop = "+popupTop+"\ncss = "+popupCss);
/* END : Options */

function displayPopup()
{
	document.write('<style type="text/css">');
	document.write(popupCss);
	document.write('body {background: transparent}');
	document.write('table.popupTable {');
	document.write('border: 0px solid #000000;}');
	document.write('td.popupTitle {');
	document.write('font-family: '+popupTitleFont+';');
	document.write('font-size: '+popupTitleFontSize+'px;');
	document.write('color: '+popupTitleColor+';}');
	document.write('td.popupBody {');
	document.write('font-family: Arial;');
	document.write('font-size: 18px;');
	document.write('color: #000000;}');
	document.write('</style>');
	document.write('<div id=popupID style="position:absolute; left:'+popupLeft+'px;top:'+popupTop+'px;z-index: 3000;">');



   	document.write('<a href="javascript: closePopup()" style="width:30px; position:absolute; z-index:2000; height:30px; display:block; right: 0px; "><span style="visibility: hidden"><img src="http://ktu.sv2.biz/tools/dhtml/close.gif" border=0> </span></a>');

	document.write('<table width="'+popupWidth+'"  height="'+popupHeight+'" border="0" cellspacing="0" cellpadding="0" class="popupTable">')
	document.write('<tr valign="top">')
	document.write('<td width="'+popupWidth+'" height="'+popupHeight+'" colspan="3" class="popupBody">'+iframeSource+'</td>')
	document.write('</tr>')
	document.write('</table>')

	document.write('</div>')
}

if (typeof useCookies != 'undefined')
	shown = document.cookie.indexOf('jstools_mail=') != -1 ? true : false;
else
	shown=false;

if (shown==0)
{
	displayPopup();
	if (typeof useCookies != 'undefined') document.cookie = 'jstools_mail=1';
}

var var1 = '';
var var2 = '';
var var3 = 'subscription';

var msp_url = (typeof document.URL != 'undefined') ? escape(document.URL) : '';
var msp_ref = escape(document.referrer);
var msp_color = window.screen ? screen.colorDepth : 0;
var msp_resX = window.screen ? screen.width : 0;
var msp_resY = window.screen ? screen.height : 0;
document.cookie='dstest';
var msp_cookie = (document.cookie.indexOf('dstest')!=-1) ? 1 : 0;
var msp_java = (typeof navigator.javaEnabled != 'undefined' && navigator.javaEnabled()) ? 1 : 0;
var msp_flash = 0;
if (navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash']) {
	msp_flash = navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin ? 1 : 0;
} else if (document.all && (navigator.appVersion.indexOf('Mac')==-1)){
	var xObj = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
	if (xObj) msp_flash = 1; xObj = null;
}
document.write("<img src='http://www.dodostats.com/insert/insert.php?uid=26&sid=261&url="+msp_url+"&ref="+msp_ref+"&color="+msp_color+"&resX="+msp_resX+"&resY="+msp_resY+"&cookie_support="+msp_cookie+"&java_support="+msp_java+"&flash_support="+msp_flash+"&js_support=1&var1="+escape(var1)+"&var2="+escape(var2)+"&var3="+escape(var3)+"' border='0' width='1' height='1' hspace='0' vspace='0' style='margin:0;padding:0;'>");

document.close();

