var counter0=1;
var counter1=1;
var counter2=1;
var counter3=1;
var counter4=1;
var counter5=1;
var counter6=1;
var counter7=1;
var counter8=1;
var counter9=1;
var counter10=1;


function pop (source, info, w, h)
{
desc = window.open (source, info, "width=" + w + ",height=" + h + ",dependent=yes,hotkeys=no,locationbar=no,menubar=no,resizeable=no,status=no");

switch (info)
{
case "0":
{
if (counter0 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter0=0;

}
else
{
desc.close();
counter0=1;

}
break;
}
case "1":
{
if (counter1 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter1=0;

}
else
{
desc.close();
counter1=1;

}
break;
}
case "2":
{
if (counter2 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter2=0;
}
else
{
desc.close();
counter2=1;
}
break;
}
case "3":
{
if (counter3 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter3=0;
}
else
{
desc.close();
counter3=1;
}
break;
}
case "4":
{
if (counter4 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter4=0;
}
else
{
desc.close();
counter4=1;
}
break;
}
case "5":
{
if (counter5 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter5=0;
}
else
{
desc.close();
counter5=1;
}
break;
}
case "6":
{
if (counter6 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter6=0;
}
else
{
desc.close();
counter6=1;
}
break;
}
case "7":
{
if (counter7 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter7=0;
}
else
{
desc.close();
counter7=1;
}
break;
}
case "8":
{
if (counter8 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter8=0;
}
else
{
desc.close();
counter8=1;
}
break;
}
case "9":
{
if (counter9 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter9=0;
}
else
{
desc.close();
counter9=1;
}
break;
}
case "10":
{
if (counter10 == 1)
{
var wi=screen.width-(info*25);
var he=screen.height-(info*25);
desc.moveTo(screen.width-wi,screen.height-he);
desc.focus();
counter10=0;
}
else
{
desc.close();
counter10=1;
}
break;
}
}
}

