function video_preview(URL) {

	popupWin = window.open(URL, 'flashplayerpop', 'width=514,height=419,left = 417.5,top = 287.5');

  	popupWin.focus();

	return false;

}


function video(URL) {

	popupWin = window.open(URL, 'playerpop', 'width=483,height=465,left = 417.5,top = 287.5');

  	popupWin.focus();

	return false;

}



function gallery(URL) {

	popupWin = window.open(URL, 'days_gallery', 'width=490,height=600,statusbar=no');

  	popupWin.focus();

	return false;

}



function interactive_quiz(URL) {

	popupWin = window.open(URL, 'days_interactive_quiz', 'toolbar=no,width=466,height=550,directories=no,status=yes,scrollbars=yes,menubar=no');

  	popupWin.focus();

	return false;

}



function tours(URL) {

	popupWin = window.open(URL, 'days_virtual_tours', 'width=600,height=330,statusbar=no');

  	popupWin.focus();

	return false;

}



function wallpaper(URL) {

	popupWin = window.open(URL, 'days_wallpapers', 'width=600,height=400,statusbar=no,scrollbars=yes');

  	popupWin.focus();

	return false;

}

function targetblank(theURL,winName,width,height,features) { //v3.1

  var window_width = width;
  var window_height = height;
  var newfeatures= features;
  var window_top = (screen.height-window_height)/2;
  var window_left = (screen.width-window_width)/2;
  newWindow=window.open(''+ theURL + '',''+ winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',menubar=yes,resizable=yes,toolbar=yes,scrollbars=yes,status=yes,location=yes,' + newfeatures + '');
  newWindow.focus();
}

