// JavaScript Document

// Radio
function windowRadioPlayer()
		{
		var w, h

		w = (screen.width / 2) - 160
		h = (screen.height / 2) - 200
	
		window.open("radio/radio.html","radio","resizable=yes,toolbar=no,menubar=no,directories=no,width=320,height=335,top="+h+",left="+w)
		}

function windowRadio()
		{
		var w, h

		w = (screen.width / 2) - 112
		h = (screen.height / 2) - 57
	
		window.open("radio.html","radio","resizable=yes,toolbar=no,menubar=no,directories=no,width=224,height=114,top="+h+",left="+w)
		}
		
function windowPoster1()
		{
		var w, h

		w = (screen.width / 2) - 236
		h = (screen.height / 2) - 350
	
		window.open("igrt-poster1.html","poster","resizable=yes,toolbar=no,menubar=no,directories=no,width=472,height=698,top="+h+",left="+w)
		}
function windowPoster2()
		{
		var w, h

		w = (screen.width / 2) - 236
		h = (screen.height / 2) - 350
	
		window.open("igrt-poster2.html","poster","resizable=yes,toolbar=no,menubar=no,directories=no,width=472,height=698,top="+h+",left="+w)
		}
function windowPoster3()
		{
		var w, h

		w = (screen.width / 2) - 175
		h = (screen.height / 2) - 350
	
		window.open("igrt-poster3.html","poster","resizable=yes,toolbar=no,menubar=no,directories=no,width=349,height=698,top="+h+",left="+w)
		}
function windowDirections()
		{
		var w, h

		w = (screen.width / 2) - 225
		h = (screen.height / 2) - 325
	
		window.open("directions.html","directions","resizable=yes,toolbar=no,menubar=no,directories=no,width=450,height=650,top="+h+",left="+w)
		}

function openWindow(url, name, rs, w, h) {
  var resize = "";
  if (rs==false) {
    resize = "resizable=no,";
  }
  popupWin = window.open(url, name,'' + resize + 'width=' + w + ',height=' + h+',toolbar=no, resizable=yes, scrollbars=yes, status=yes');

  window.name = 'opener';
}
