function poptastic(url, append, width, height)
{
	var additive = "";
	var baseURL = document.getElementById('page_url').innerHTML.replace("&amp;", "&");


	if (append) {
		if(baseURL.indexOf("?") != -1){
			additive = "&" + url;
		} else {
			additive = "?" + url;
		}
		newwindow=window.open(baseURL+additive,'name','height='+height+',width='+width+',scrollbars=yes,resizable=false,toolbar=no,menubar=no,location=false');
	} else {
		url = url + document.getElementById('page_url').innerHTML;
		newwindow = window.open(url,'name','height='+height+',width='+width+',scrollbars=yes,resizable=false,toolbar=no,menubar=no,location=false');
	}

	if (window.focus) {newwindow.focus()}
}


function doPassVarBT(args){
	if(getFlashMovieObject("homeFlash")){
		getFlashMovieObject("homeFlash").SetVariable("switcher", args);
		//alert(args);
	}
}

function getFlashMovieObject(movieName)
{
  if (window.document[movieName])
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName];
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

 function GoToURL(j) {
	/*window.status=('Connecting....')
	var URLis;
	URLis = document.URLframe.Dest.value;

	if (URLis == "" || URLis.length <= 8){
		j.value = "Try Again"
		alert('\nOops!\n\nYou must enter a valid URL');
		window.status=('Missing data or Invalid. Try again?.')
	} else {
		j.value = "Connecting to: http:\\" + URLis
		var location=("http://" + URLis);
		this.location.href = location;
		window.status=('Connecting to ' + URLis + '  Please wait........');
	}*/
	document.location.href = j;
	return false;
}