 

//Function for generating a window containing jukeboxes from the music section

function openJukebox(url) { 
	popupWin = window.open(url, 'jukebox', 'width=300,height=300,status=0,scrollbars=no,toolbar=no,resizable=yes');
	popupWin.focus();
}


//Functions for generating a window containing photogrpahs from gallery section

function openGalleryWin(url) { 
	popupWin = window.open(url, 'galleryWin', 'width=300,height=500,status=0,scrollbars=no,toolbar=no,resizable=yes');
	popupWin.focus();
}


// This function creates and writes html to a new browser window to display a JPEG for a Weird City item

function openWeirdCity(imgID) {
	printWin = window.open('', 'site' ,'toolbar=no,scrollbars=yes,menubar=no,resizable=yes,width=615,height=400');
	printWin.document.write("<HTML><HEAD><TITLE>Ben Vaughn | Weird City</TITLE><LINK HREF=\"/css/ben_style.css\" REL=\"stylesheet\" TYPE=\"text/css\"></HEAD><BODY STYLE=\"background-color: #000000; margin: 0; padding: 0; text-align: center;\"><TABLE WIDTH=\"100%\" CELLPADDING=\"10\" BGCOLOR=\"#333333\"><TR><TD ALIGN=\"center\"><SPAN STYLE=\" font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight:bold; line-height: 12px; color: #FFFFFF; \">Please resize window to view entire article.</SPAN></TD></TR></TABLE><IMG SRC='/images/links/weirdCity/" + imgID  + ".jpg'></BODY></HTML>");
	printWin.document.close();
}

// This function creates and writes html to a new browser window to display a JPEG for a Press Archive item

function openPressArchive(imgName) {
	printWin = window.open('', 'site' ,'toolbar=no,scrollbars=yes,menubar=no,resizable=yes,width=615,height=400');
	printWin.document.write("<HTML><HEAD><TITLE>Ben Vaughn | Press Archives</TITLE><LINK HREF=\"/css/ben_style.css\" REL=\"stylesheet\" TYPE=\"text/css\"></HEAD><BODY STYLE=\"background-color: #000000; margin: 0; padding: 0; text-align: center;\"><TABLE WIDTH=\"100%\" CELLPADDING=\"10\" BGCOLOR=\"#333333\"><TR><TD ALIGN=\"center\"><SPAN STYLE=\" font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight:bold; line-height: 12px; color: #FFFFFF; \">Please resize window to view entire article.</SPAN></TD></TR></TABLE><IMG SRC='../images/pressArchives/" + imgName + "'></BODY></HTML>");
	printWin.document.close();
}

// This function generates a windows for articles, reviews, and interviews

function openArticle(url) {
	popupWin = window.open(url, 'articleWin', 'width=780,height=500,status=0,scrollbars=yes,toolbar=no,resizable=yes');
	popupWin.focus();
}




