function article(newUrl)
{
opener.document.location = newUrl;
}

function cmnt(newUrl)
{
opener.document.location = newUrl;
window.close();
}

function joe(newWin) {
    var joeWin=window.open(newWin,"","width=650, height=650, scrollbars=yes, menubar=no, resizable=yes");
	joeWin.focus();
	return;
}


function cmntwin(newWin) {
    var joeWin=window.open(newWin,"cmntwin","width=400, height=570,scrollbars=yes,menubar=no,resizable=yes, top=100, left=100");
	joeWin.focus();
	return;
}

function misshtwin(newWin) {
    var joeWin=window.open(newWin,"misshtwin","width=420, height=700,scrollbars=no,menubar=no,resizable=no");
	joeWin.focus();
	return;
}

function arwin(new1Win) {
    var goodwin=window.open(new1Win,"arwin","width=300,height=400, scrollbars=yes, menubar=no, top=100, left=100");
        goodwin.focus();
        return;
}

function hist(new2Win) {
    var hiwin=window.open(new2Win,"galwin","width=550,height=615, resizable=yes, scrollbars=yes, menubar=no");
        hiwin.focus();
        return;
}

function galwin(new2Win) {
    var hiwin=window.open(new2Win,"galwin","width=950,height=700, resizable=yes, scrollbars=yes, menubar=no, top=100, left=100");
        hiwin.focus();
        return;
}

function bannerwin(new1Win) {
    var goodwin=window.open(new1Win,"archive","width=400,height=550,scrollbars=yes,menubar=no");
        goodwin.focus();
        return;
}

function htvpop(newWin) {
    var popwin=window.open(newWin,"","width=360,height=250,scrollbars=no,menubar=no, left=80, top=80");
        popwin.focus();
        return;
}

function jorge(newWin) {
    var popwin=window.open(newWin,"","width=820,height=545,scrollbars=no,menubar=no,");
        popwin.focus();
        return;
}

function seedpop(newWin) {
    var popwin=window.open(newWin,"","width=260,height=215,scrollbars=yes,menubar=no");
        popwin.focus();
        return;
}

function actcenter(new2Win) {
    var hiwin=window.open(new2Win,"galwin","width=620,height=590, resizable=yes, scrollbars=yes, menubar=no");
        hiwin.focus();
        return;
}

function jumpPage(s)
{
	var newloc = s.options[s.selectedIndex].value;
	if(newloc != "#")
	{
	document.location.href = newloc;
	}
}

function goPage(s)
{
	var newloc = s.options[s.selectedIndex].value;
	if(newloc != "#")
	{
	window.open(newloc);
	}
}


var testemail;
function checkemail()
{
	var str1=document.Form1.emailfrom.value;
	var str2=document.Form1.sendmailto.value;
	var filter="/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i";
	if(filter.test(str1) & filter.test(str2))
	{
	testemail=true;
	}else{
	alert("You must enter valid email address(es)!");
	testemail=false;
	}
	return (testemail);
}

function checkjump()
{
	if (document.layers||document.getElementById||document.all)
	{
	return checkemail();}
	else{
	return true;}
}


function getR() {
return Math.random().toString().substring(2,6)
}


