var exit_consoles="";
var domain = 'http://ktu.sv2.biz/';
var popDialogOptions="";var popWindowOptions="";var usePopDialog=false;var isUsingSpecial=false;var popalready=0;
var pop=1;var cpop=0;var popURL="";var u="6BF52A52-394A-11D3-B153-00C04F79FAA6";var isXPSP2;var exit_default=0;
var exitUrl="";var site_exit=0;var wm_exit=0;
var exit_default = new Array(	{ url: "http://media.diabloteen.com/pdv/001/index.html?nw=1&exit=default", w:800, h:600});
if(typeof(exit)!="undefined"){
	if(parseInt(exit)){
		var part = exit.split("_");
		exitUrl = "exit\/webmasters\/"+part[0]+"\/exit_"+exit+".js";
		wm_exit = 1;
	}
}else{
	exit_default=1;site_exit=0;wm_exit=0;
	exitUrl = "exit\/exit_default.js";
}
if(exitUrl != ""){ document.write('<script language="javascript" src="'+domain+exitUrl+'"><\/script>');}

function setpopUrl(){
  		if(exit_consoles == ""){
  			exit_consoles = exit_default;
  		}
  		if(cpop >= exit_consoles.length){
  			return;
  		}else{
  			if(exit_consoles[cpop].w){var width = exit_consoles[cpop].w;}else{var width = screen.availWidth - 0;}
  			if(exit_consoles[cpop].h){var height = exit_consoles[cpop].h;}else{var height = screen.availHeight - 0;}
			popDialogOptions = "dialogWidth:"+width+"px; dialogHeight:"+height+"px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0";
  			var tmp_link = exit_consoles[cpop].url
 			if(wm_exit){tmp_link += (tmp_link.indexOf('?') == -1) ? "?" : "";}
 			tmp_link += "&cpop="+ (cpop+1);
			popURL = tmp_link;
  		}
}
function open_fs(){ext();}
function ext() {
	setpopUrl();
	if(pop && ! popalready) {
	    if(!isXPSP2 && !usePopDialog) {
	    	window.open(popURL,"",popWindowOptions);
	    }else if(!isXPSP2 && usePopDialog) {
	    	eval("window.showModalDialog(popURL,'',popDialogOptions)");
	    }else {
	        document.getElementById('iie').launchURL(popURL);
	    }
	    popalready = 1;
    }
}
function brs(){document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";}
function ver(){isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);if(isXPSP2) brs();}