
// hide script from old browsers
var newwin;

var w = 480, h = 340;

if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}

var popW = 760, popH = 350;

var leftPos = (w-popW)/2, topPos = (h-popH)/2;

function launchSiteWin(winurl,winname,winfeatures)
{
newwin = window.open(winurl,winname,'toolbar=yes' + ',resizable=yes' + ',scrollbars=yes' + ',width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);

}



function testimWin(winurl,winname,winfeatures)
{
var popW2 = 415, popH2 = 360;

var leftPos2 = (w-popW2)/2, topPos2 = (h-popH2)/2;

newwin = window.open(winurl,winname,'scrollbars=yes' + ',resizable=yes' + ',width=' + popW2 + ',height=' + popH2 + ',top=' + topPos2 + ',left=' + leftPos2);

}



function thumb2BigWin(winurl,winname,winfeatures)
{
var popW2 = 410, popH2 = 315;

var leftPos2 = (w-popW2)/2, topPos2 = (h-popH2)/2;

newwin = window.open(winurl,winname,'resizable=no' + ',width=' + popW2 + ',height=' + popH2 + ',top=' + topPos2 + ',left=' + leftPos2);

}


function copyRightWin(winurl,winname,winfeatures)
{
var popW2 = 315, popH2 = 425;

var leftPos2 = (w-popW2)/2, topPos2 = (h-popH2)/2;

newwin = window.open(winurl,winname,'resizable=no' + ',width=' + popW2 + ',height=' + popH2 + ',top=' + topPos2 + ',left=' + leftPos2);

}

// end hiding script from old browsers


