jQuery(function($){
	$('#aff').click(function(){
		window.open("http://www.stimul-cash.com/?aff_id=10832","_blank")
		return false
	})
})

function checkCoocies(){
	if(document.cookie=="")document.write('<div class="error">To proceed please enable Cookies in your browser.</div>')
}

function SupportWindow(){
	var url = "http://messenger.providesupport.com/messenger/stimul-cash.html?ps_s=" + psYPWrsid + "&ps_mht=" + psYPWrmht + "";
	window.open(url, "_blank", "menubar=0,location=0,scrollbars=auto,resizable=1,status=0,width=500,height=460");
}
var seYPWr=document.createElement("script"); seYPWr.type="text/javascript";
var seYPWrs=(location.protocol.indexOf("https")==0?"https://secure.providesupport.com/image":"http://image.providesupport.com")+
"/js/stimul-cash/safe-standard.js?ps_h=YPWr\u0026ps_t="+new Date().getTime();
setTimeout("seYPWr.src=seYPWrs;document.getElementById('support').appendChild(seYPWr)",1);

function expand(id){
	var switcher = document.getElementById('switch_' + id);
	if ($('#' + id).attr('loaded')){
		$('#' + id).toggle('slow');
		switcher.innerHTML = (switcher.innerHTML == '« Hide info' ? 'More product info »' : '« Hide info');
	}else{
		switcher.innerHTML = '« Hide info';
		$('#' + id).attr('loaded', true).append('<img src="/_img/load/wait.gif" class="loading" />').load('/lang/en/descr/' + id + '.html');
	}
}

function counter(mode){
	if(mode == 1){
	document.write('<a href="" target="_blank" rel="nofollow"><img'+
	' src="http://counter.yadro.ru/hit?t39.18;r'+escape(document.referrer)+((typeof(screen)=="undefined")?"":
	";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
	";"+Math.random()+'" alt="" title="LiveInternet" class="translucent" onmouseover="this.className=\'\';" onmouseout="this.className=\'translucent\';" /><\/a>')
	}else{
	document.write('<img src="/_img/39.18.gif" alt="" title="" />')
	}
}

