var win1 = '';
var win2 = '';
var win3 = '';


function showpop(url, l, t, w, h) {
if (win1.location && !win1.closed) {
    win1.location.href = url;
    win1.focus(); }
else {
    win1=window.open(url,'a1','resizable=1,scrollbars=1,menubar=0,status=0,toolbar=0,directories=0,location=0,width=' + w + ',height=' + h + ',left=' + l + ', top=' + t);
     }
win1.focus();	 
}


function showpop2(url, l, t, w, h) {
if (!win2.closed && win2.location) {
    win2.location.href = url;
    win2.focus(); 
} else {

    win2=window.open(url,'a2','resizable=1,scrollbars=1,menubar=1,status=1,toolbar=1,directories=0,location=1,width=' + w + ',height=' + h + ',left=' + l + ', top=' + t);
    win2.focus(); 
}
}

function showpop3(url, l, t, w, h) {
if (win3.location && !win3.closed) {
    win3.location.href = url;
    win3.focus(); }
else {
    win3=window.open(url,'a3','resizable=1,scrollbars=1,menubar=1,status=0,toolbar=0,directories=0,location=0,width=' + w + ',height=' + h + ',left=' + l + ', top=' + t);
	}
win3.focus();
}


