var _usample=0;
var curr_domain=document.location.host;
document.write("<script language='javascript' src='http://www.google-analytics.com/urchin.js'></script>");
document.write("<script language='javascript'>urchintracker2()</script>");
//new_element=document.createElement("script");
//new_element.setAttribute("type","text/javascript");
//new_element.setAttribute("src","http://www.google-analytics.com/urchin.js");
//document.body.appendChild(new_element);
//window.setTimeout("urchintracker2();",3000);
//loading();
//function loading(){
//if(_usample>0){
//	urchintracker2();
//}else{
//	window.setTimeout("loading()",2000);
//}
//}
function urchintracker2(){
if(curr_domain.indexOf('downloadatoz')>-1){
	_uacct = "UA-814893-4";
	urchinTracker();
}
if(curr_domain.indexOf('com-http.com')>-1){
	_uacct = "UA-814893-5";
	urchinTracker();
}
if(curr_domain.indexOf('flash-screen')>-1){
	_uacct = "UA-814893-7";
	urchinTracker();
}
if(curr_domain.indexOf('pc-washer')>-1){
	_uacct = "UA-814893-12";
	urchinTracker();
}
if(curr_domain.indexOf('power-dvd.biz')>-1){
	_uacct = "UA-814893-1";
	urchinTracker();
}
if(curr_domain.indexOf('soundtaxi.us')>-1){
	_uacct = "UA-814893-13";
	//urchinTracker();		
}
if(curr_domain.indexOf('dvdripperwizard.com')>-1){
	_uacct = "UA-814893-19";
	//urchinTracker();		
}
}

function _vor(button,soft_id,obj){
	var domain1=document.location.host;
	arr = domain1.split(".");
	if(arr.length>=2){
		domain1 = arr[arr.length-2]+'.'+arr[arr.length-1]; 	
	}else{
		domain1 = arr[0];	
	}
	url = document.location.pathname;
	url = url.replace('/index.html','');
	url = url.replace('/index.php','');
	if(domain1=='com-http.com'){
		url=document.location.href;
		url=url.substr(url.lastIndexOf('com-http.com')+13);

	}	
	if(url.substr(url.length-1,1)=='/'){
		url += '__'+soft_id+'__'+button;
	}else{
		url += '/__'+soft_id+'__'+button;
	}
	urchinTracker(url);//提交虚拟url
	//设置链接传递参数
	if(obj){
		if(domain1=='com-http.com'){
			if(obj.href.indexOf('?')>-1){
				obj.href +='&url='+url;			
			}else{
				obj.href +='?url='+url;			
			}
		}else{
			if(obj.href.indexOf('?')>-1){
				obj.href +='&url='+domain1+url;			
			}else{
				obj.href +='?url='+domain1+url;			
			}			
		}
		obj.onclick = 'return true';
	}
}