    function checkWindowName( windowName )
    {
	    var newWindowName;

	    if (window.name == windowName) {
		    newWindowName = windowName+'2';
	    }
	    else {
		    newWindowName = windowName;
	    }

	    return newWindowName;
    }

    function metPopSmall( fileName )

    {
	    var newWinName = checkWindowName('metSmall');
    	
	    openPop = this.open(fileName,newWinName,'toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=550,height=400,left=0,top=0,screenX=0,screenY=0');

	    openPop.focus();

	    // close the old pop if metResized pop was blocked
	    if ((window.name != newWinName) && ((window.name == 'metSmall') || (window.name == 'metSmall2'))) {
		    window.close();
	    }
    }

    function videoPop( fileName )
    {
	openPop = this.open(fileName,'coaxing','toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=390,height=440,left=400,top=50,screenX=400,screenY=50');
	openPop.focus();
    }
    
    function videoPop2( fileName )
    {
	openPop = this.open(fileName,'coaxing','toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=338,height=320,left=400,top=50,screenX=0,screenY=0');
	openPop.focus();
    }
