function func_show_hide(id,param){
	if(document.getElementById(id)){
		var obj = document.getElementById(id);
		if(param == 1){
			if(obj.style.display == 'none'){
				obj.style.display = 'block';
			}else{
				obj.style.display = 'none';
			}
		}else{
			obj.style.display = 'none';
		}
	}
}

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17489746-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);

(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

function sub_show_hide(id,param){

	if(document.getElementById(id)){
		var obj = document.getElementById(id);
		if(param != 1){
			if(obj.style.display == 'none'){
				obj.style.display = '';
			}else{
				obj.style.display = 'none';
			}
		}else{
			obj.style.display = 'none';
		}
	}
}

////////////////

function change_location(where){
	setCookie('ULocation','','','','icecat.biz','');
	location.href=where;
}

function setCookie (name, value, expires, path, domain, secure) {
      document.cookie = name + "=" + escape(value) +
        ((expires) ? "; expires=" + expires : "") +
        ((path) ? "; path=" + path : "") +
        ((domain) ? "; domain=" + domain : "") +
        ((secure) ? "; secure" : "");
}


