// Rogue Wolf iFrame JavaScripts


function changeFrame(URL)
{
 	document.getElementById('WCNFrame').src=URL;
	
}


function refreshFrame()
{
    window.location.reload( false );
	
}


function setTop()
{
    window.scrollTo(0,0);
}


function getComic(Issue,fileType)
{
	var URL="http://www.talkaboutcomics.com/~stahl/comics/" + Issue + "DL." + fileType;
	if (fileType == "pdf") {
		var RWpdf = window.open(URL, 'RWpdf', 'toolbar=0,scrollbars=1,location=0,status=0,menubar=0,resizable=1,left=0,top=0');
		RWpdf.resizeTo(screen.width,screen.height); 
		} 
	else { changeFrame(URL); }
	
}

function mailPopUp(URL) {
window.open(URL, 'propframe', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=468,height=650,left=25,top=0');
}