//Pop-up Window v1.0
//modified from various sources
//by sam mateosian
//big room studios

function popUp(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

/*instructions:

drop this file in the directory of the pages you want to use it

include this between the <head></head> tags:
<script language=javascript type="text/javascript" src="popup.js"></script>

this is a link:
<a href="http://www.bigroomstudios.com/" onclick="popUp(this.href,'name','800','600','yes');return false;">www.bigroomstudios.com</a>

*/