function galleryPop(winURL)
{
    switch(winURL)
	{
            case 'AbstractLovePoemDetail.html':
                winW = 616;
                winH = 720;
                break;

            case 'AbstractLovePoem.html':
                winW = 610;
                winH = 770;
                break;

            case 'BiologicalImp.html':
                winW = 560;
                winH = 820;
                break;

            case 'BiologicalImpDetail.html':
                winW = 588;
                winH = 728;
                break;

            case 'Blonde.html':
                winW = 630;
                winH = 732;
                break;

            case 'BlondeDetail.html':
                winW = 630;
                winH = 734;
                break;

            case 'BroccoliDetail.html':
                winW = 568;
                winH = 711;
                break;

            case 'Broccoli.html':
                winW = 560;
                winH = 755;
                break;

            case 'CantSeeTheForestDetail.html':
                winW = 710;
                winH = 591;
                break;  
      
            case 'CantSeeTheForest.html':
                winW = 709;
                winH = 593;
                break;

            case 'Carrots.html':
                winW = 560;
                winH = 829;
                break;

            case 'CarrotsDetail.html':
                winW = 559;
                winH = 697;
                break;

            case 'CecilyBrown.html':
                winW = 660;
                winH = 730;
                break;

            case 'CecilyBrownDetail.html':
                winW = 688;
                winH = 671;
                break;

            case 'ContinuumDetail.html':
                winW = 570;
                winH = 662;
                break;

            case 'Continuum.html':
                winW = 550;
                winH = 718;
                break;

            case 'EatMeDetail.html':
                winW = 607;
                winH = 703;
                break;

            case 'EatMe.html':
                winW = 482;
                winH = 800;
                break;

			case 'EatMeInstall.html':
                winW = 660;
                winH = 743;
                break;

            case 'FamilyTreeDetail.html':
                winW = 660;
                winH = 665;
                break;

            case 'FamilyTree.html':
                winW = 690;
                winH = 620;
                break;

			case 'ForestInstall.html':
                winW = 884;
                winH = 726;
                break;

            case 'FreeRangeChickenDetail.html':
                winW = 559;
                winH = 654;
                break;

            case 'FreeRangeChicken.html':
                winW = 552;
                winH = 749;
                break;

			case 'Gallery.html':
                winW = 1061;
                winH = 710;
                break;

            case 'GWIsEvolutionDetail.html':
                winW = 836;
                winH = 574;
                break;

            case 'GWIsEvolution.html':
                winW = 835;
                winH = 586;
                break;

            case 'KissTomorrowGoodbyeDetail.html':
                winW = 708;
                winH = 687;
                break;

            case 'KissTomorrowGoodbye.html':
                winW = 709;
                winH = 727;
                break;

            case 'NatureIsABlackVoidDetail.html':
                winW = 588;
                winH = 595;
                break;

            case 'NatureIsABlackVoid.html':
                winW = 537;
                winH = 790;
                break;

            case 'OopsIDidItAgainDetail.html':
                winW = 557;
                winH = 697;
                break;

            case 'OopsIDidItAgain.html':
                winW = 543;
                winH = 779;
                break;

            case 'OrganicPorkDetail.html':
                winW = 683;
                winH = 706;
                break;

            case 'OrganicPork.html':
                winW = 732;
                winH = 725;
                break;

            case 'OurSublimeNatureDetail.html':
                winW = 638;
                winH = 799;
                break;

            case 'OurSublimeNature.html':
                winW = 644;
                winH = 768;
                break;

            case 'PornificationDetail.html':
                winW = 588;
                winH = 763;
                break;

            case 'Pornification.html':
                winW = 660;
                winH = 748;
                break;

            case 'PornificationInstall.html':
                winW = 631;
                winH = 720;
                break;

            case 'SelfPortraitDetail.html':
                winW = 645;
                winH = 772;
                break;

            case 'SelfPortrait.html':
                winW = 459;
                winH = 833;
                break;

            case 'SheDoesntCareDetail.html':
                winW = 588;
                winH = 595;
                break;

            case 'SheDoesntCare.html':
                winW = 537;
                winH = 791;
                break;

            case 'TheManDetail.html':
                winW = 636;
                winH = 717;
                break;

            case 'TheMan.html':
                winW = 420;
                winH = 857;
                break;

            case 'ThreeLincolnsDetail.html':
                winW = 545;
                winH = 689;
                break;

            case 'ThreeLincolns.html':
                winW = 1078;
                winH = 620;
                break;

            case 'TreeOfSingularityDetail.html':
                winW = 690;
                winH = 674;
                break;

            case 'TreeOfSingularity.html':
                winW = 561;
                winH = 828;
                break;

            case 'WheatpasteKingDetail.html':
                winW = 645;
                winH = 734;
                break;

            case 'WheatpasteKing.html':
                winW = 440;
                winH = 764;
                break;

            case 'SunThroughForrest.html':
                winW = 760;
                winH = 560;
                break;

            case 'SunThroughForrestDetail.html':
                winW = 760;
                winH = 540;
                break;

            case 'Untitled.html':
                winW = 660;
                winH = 820;
                break;

            case 'UntitledDetail.html':
                winW = 668;
                winH = 654;
                break;
	}
    var winWH = 'width=' + winW + ',height=' + winH;
	newWindow = window.open(winURL, 'Gallery', winWH, 'directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');
	newWindow.resizeTo(winW, winH);
	newWindow.focus();
}

function verifyEmail()
{
    if (document.forms[0].elements[2].value == "")
	{
        alert ("\n Oops!\n\n The E-Mail field is blank! \n Please enter your E-Mail address.")
        document.forms[0].elements[2].focus();
        return false;
    }
    if (document.forms[0].elements[2].value.indexOf ('@',0) == -1 ||
    document.forms[0].elements[2].value.indexOf ('.',0) == -1)
	{
        alert ("\n Oops!\n\n This does not appear to be a valid E-Mail address!\n Please re-enter your E-Mail address.")
        document.forms[0].elements[2].select();
        document.forms[0].elements[2].focus();
        return false;
    }
	else
      return true;
}
