/*
* some config for the window sizes
*/
photo = 'width=500,height=590';
video = 'width=348,height=450';
lyrics = 'width=400,height=453';


function viewer(href, type) {
	nw = window.open(href, 'phish_'+type, this[type]+',status=no,menubar=no,location=no,scrollable=no,resizable=no');
	nw.focus();
}

function audio(href) {
	nw = window.open(href, 'phishaudio', 'width=450,height=200,status=no,menubar=no,location=no,scrollable=no');
	nw.focus();
}

function cover(href, width, height) {
	width -= 2;
	height -= 1;
	nw = window.open(href, 'phishviewer', 'width='+width+',height='+height+',status=no,menubar=no,location=no,scrollable=no,resizable=no');
	nw.focus();
}
