
	var charWindow="";


        function MM_openBrWindow(theURL, winName) {
                        if (theURL == "none")
                                return;
                        var windowWidth=325;
                        var windowHeight=400;
                        var winTop = (screen.height/2) - (windowHeight/2);
                        var winLeft = (screen.width/2) - (windowWidth/2) ;

                        var features = "width=" + windowWidth + ",height=" + windowHeight + ",top=" + winTop + ",left=" + winLeft + ",location=no"

			var cmd="charWindow=window.open('" + theURL + "' , '" + winName + "' , '" + features + "')"
	                eval(cmd);
	
        	        charWindow.focus();
                	return false;

                }

function openWindow(theURL, winName, width, height, morefeatures) {
                        if (theURL == "none")
                                return;
                        var windowWidth=width;
                        var windowHeight=height;
                        var winTop = (screen.height/2) - (windowHeight/2);
                        var winLeft = (screen.width/2) - (windowWidth/2) ;
                        if (winName == "Livvy")
                                winLeft = winLeft + 160;
                        if (winName == "April")
                                winLeft = winLeft - 160;
                        if (winName == "Zjana")
                                winLeft = winLeft - 200;
                        if (winName == "DaShay")
                                winLeft = winLeft + 200;

                        //var features = "width=" + windowWidth + ",height=" + windowHeight + ",top=" + winTop + ",left=" + winLeft + ",location=no"
                        var features = "width=" + windowWidth + ",height=" + windowHeight + ",top=" + winTop + ",left=" + winLeft + morefeatures

var cmd="charWindow=window.open('" + theURL + "' , '" + winName + "' , '" + features + "')"

                eval(cmd);

                charWindow.focus();
                return false;

                }


function closeWindow() {
  window.close();
}


