
function runSwf_menu_top()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="908" height="160">\n')
    document.write('<param name="movie" value="images/menu_top.swf">\n')
    document.write('<param name="quality" value="high"/>\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menu_top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="908" height="160"></embed>\n')
    document.write('</object>\n')
}

function runSwf_intro()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="894" height="280">\n')
    document.write('<param name="movie" value="images/intro.swf">\n')
    document.write('<param name="quality" value="high"/>\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="894" height="280"></embed>\n')
    document.write('</object>\n')
}

//Sub Navigation
function runSwf_menuSub_aboutUs(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_aboutUs.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_aboutUs.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

function runSwf_menuSub_products(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_products.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_products.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

function runSwf_menuSub_resources(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_resources.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_resources.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

function runSwf_menuSub_support(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_support.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_support.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

function runSwf_menuSub_events(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_events.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_events.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

function runSwf_menuSub_others(location)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="137">\n')
    document.write('<param name="movie" value="images/menuSub_others.swf?menu='+location+'">\n')
    document.write('<param name="quality" value="high">\n')
    document.write('<param name="menu" value="false">\n')	
    document.write('<embed src="images/menuSub_others.swf?menu='+location+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="137"></embed>\n')
    document.write('</object>\n')
}

// PopUp for Photo Gallery
function openPhotoGallery_01() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_showroom.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openPhotoGallery_02() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_event_01.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openPhotoGallery_03() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_event_02.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openPhotoGallery_04() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_event_03.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openPhotoGallery_05() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_event_04.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openPhotoGallery_06() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("about_photoGallery_event_05.htm","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openAM08() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/AM08/photoAM08.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openjillE() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/jillE/photojillE.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openJH() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/JH/photoJH.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openICTLT08() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/ICTLT08/photoICTLT08.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openSMARTTunch() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/SMARTTunch/photoTunch.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openbooksellers() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/booksellers/photoBooksellers.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openAM09() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/AM09/photoAM09.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}

function openSEAGA09() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (362); //half the screen width minus half the new window width. 
	iMyHeight = (window.screen.height/2) - (313); //half the screen height minus half the new window height.
	var win2 = window.open("events/SEAGA09/photoSEAGA09.html","Window2","status=no,height=626,width=725,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win2.focus();
}