function Popup1(picname) {
	var newwindow;
	if (!newwindow) {
		newwindow = window.open('','newwindow','width=383,height=620,left=50,top=50');
		newwindow.document.write('<head>')
		newwindow.document.write('<title>Hockey Hall of Fame - Exhibits Tour - Great Hall</title>')
		newwindow.document.write('</head>')
		newwindow.document.write('<body MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" TOPMARGIN="0">')
		newwindow.document.write('<IMG src=' + picname + '  WIDTH="383" HEIGHT="600" ALT="" BORDER="0">')
		newwindow.document.write('<a href="#" onclick="self.close();return false;"><IMG src="../graphics/closeExPics.gif"  WIDTH="383" HEIGHT="24" ALT="" BORDER="0"></a>')
		if (window.focus) {newwindow.focus()};
	};
}

function Popup2(picname) {
	var newwindow;
	if (!newwindow) {
		newwindow2 = window.open('','newwindow','width=500,height=400,left=50,top=50');
		newwindow2.document.write('<head>')
		newwindow2.document.write('<title>Hockey Hall of Fame - Spirit of Hockey Retail Store</title>')
		newwindow2.document.write('</head>')
		newwindow2.document.write('<body MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" TOPMARGIN="0">')
		newwindow2.document.write('<IMG  src="'+picname+'" WIDTH="500" HEIGHT="375" ALT="" BORDER="0">')
		newwindow2.document.write('<div align="center"><a href="#" onclick="self.close();return false;"><IMG src="../graphics/closeExPics.gif"  WIDTH="383" HEIGHT="24" ALT="" BORDER="0"></a></div>')
		if (window.focus) {newwindow.focus()};
	};
}
	
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



function makeWindowVideo(URL) {
	newWindowIND = window.open(URL,'myWindowIND','scrollbars=no,status=no,width=660,height=420,screenX=400,screenY=50,top=50,left=400')
	
	if (newWindowIND.opener == null) newWindowIND.opener = self;

}
		
function makeWindowIND(URL) {
	newWindowIND = window.open(URL,'myWindowIND','scrollbars=no,status=no,width=510,height=500,screenX=400,screenY=50,top=50,left=400')
	
if (newWindowIND.opener == null) newWindowIND.opener = self;

}

function makeWindowSCgal(URL) {
	newWindowSCJ = window.open(URL,'myWindowSCJ','scrollbars=no,status=no,width=510,height=500,screenX=400,screenY=50,top=50,left=400')
	
if (newWindowSCJ.opener == null) newWindowIND.opener = self;
}

// generalized version of some of the previous functions
function makeWindow(URL, width, height) {
	var newWindow = window.open(URL,'myWindow','scrollbars=no, status=no, width='+width+', height='+height+', top=50, left=400');
	if (newWindow.opener == null) newWindow.opener = self;
}

function popupVideo(URL, width, height)
{
	var newWindow = window.open(URL,'popupVideo','width='+width+', height='+height+', top=75, left=100, scrollbars=no, resizable=no');
	if (window.focus) newWindow.focus();
}

function popupVideoTavares(URL, width, height)
{
	var newWindow = window.open(URL,'popupVideo','width='+width+', height='+height+', top=75, left=100, scrollbars=no, resizable=no');
	if (window.focus) newWindow.focus();
}

function popupVideoX(URL, height, width)
{
	var newWindow = window.open(URL,'popupVideo','width='+width+', height='+height+', top=75, left=100, scrollbars=no, resizable=no');
	if (window.focus) newWindow.focus();
}

function popupVideoLetterbox(URL)
{
	var newWindow = window.open(URL,'popupVideo','width='+640+', height='+400+', top=75, left=100, scrollbars=no, resizable=no');
	if (window.focus) newWindow.focus();
}


