/* This script displays 
   messages in the status bar   */
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
/* This script opens Tell a Friend 
   hauteur=height largeur=width   */
function open_windowTAF (votre_page)
{
	var hauteur_popup=355;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=350;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Friends","status=no,scrollbars=auto,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Newsletter sign-up 
   hauteur=height largeur=width   */
function open_windowNEWS (votre_page)
{
	var hauteur_popup=300;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=350;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Newsletter","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Sample Stat Page 
   at: audio-video-serve-encode.html   */
function open_windowSTATS (votre_page)
{
	var hauteur_popup=550;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=595;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Stats","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Bandwidth Calculator-1 
   at: audio-video-serve-encode.html   */
function open_windowCALC_1 (votre_page)
{
	var hauteur_popup=400;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Calculator","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Bandwidth Calculator-2
   at: audio-video-serve-encode.html   */
function open_windowCALC_2(votre_page)
{
	var hauteur_popup=540;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Calculator2","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Upload window
   at: audio-video-serve-encode.html   */
function open_windowUPLOAD (votre_page)
{
	var hauteur_popup=420;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=350;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Upload","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Live Webcasting Overage Information
   at: audio-video-webcasting.html   */
function open_windowOVERAGE (votre_page)
{
	var hauteur_popup=295;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Overage","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Live Packages
   at: audio-video-webcasting.html   */
function open_windowPACKAGES (votre_page)
{
	var hauteur_popup=295;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Packages","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens User Info
   at: audio-video-webcasting.html   */
function open_windowUSER_INFO (votre_page)
{
	var hauteur_popup=235;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Info","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens PPV Selection Information
   at: pay-per-view_order-form.html   */
function open_windowPPV_SELECT_INFORMATION (votre_page)
{
	var hauteur_popup=440;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=400;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Info","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Player Info
   at: option1_order-form.html   */
function open_windowPLAYER_INFO (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=416;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Player","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Pay Per View Demo 1
   at: ppv_info2.html   */
function open_windowPPV_DEMO_1 (votre_page)
{
	var hauteur_popup=565;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=410;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Demo","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Pay Per View Demo 2
   at: ppv_info2.html   */
function open_windowPPV_DEMO_2 (votre_page)
{
	var hauteur_popup=470;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=510;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Demo2","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Pay Per View Demo 3
   at: ppv_info2.html   */
function open_windowPPV_DEMO_3 (votre_page)
{
	var hauteur_popup=470;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=460;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Demo3","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Pay Per View Demo 4
   at: ppv_info2.html   */
function open_windowPPV_DEMO_4 (votre_page)
{
	var hauteur_popup=565;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=553;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Demo3","status=no,scrollbars=no,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Customer Demo
   at: ppv_info2.html   */
function open_windowCUST_DEMO (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=440;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Demo2","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Customer Demo
   at: ppv_info2.html   */
function open_windowSETUP (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=600;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Setup","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Pay As You Go
   at: benefits.html   */
function open_windowPAY_GO (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=416;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"PayAsYouGo","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Embed Quicktime
   at: audio-video-services-faq.html   */
function open_windowEMBED_QUICK (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=500;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"EmbedQuicktime","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Embed Real
   at: audio-video-services-faq.html   */
function open_windowEMBED_REAL (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=500;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"EmbedReal","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Embed Windows
   at: audio-video-services-faq.html   */
function open_windowEMBED_WINDOWS (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=500;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"EmbedWindows","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}

function open_windowLIVE_SUPPORT() 
{
    height="400";
    width="400";
    supportwin = window.open("http://speak2u.audiovideoweb.com/index.php?cid=5", "Speak2u","height=" + height + ",width=" + width + ",resizable=no,scrollbars=no,status=no,toolbar=no,location=no,directories=no,menubar=no,copyhistory=no");
    //supportwin.moveTo(screen.width/2-(width / 2),screen.height/2- (height / 2));
}
/* This script opens Quote Information
   at: quotes_form.html   */
function open_windowQUOTES_INFO (votre_page)
{
	var hauteur_popup=500;
	var H = (screen.height - hauteur_popup) / 2;
	var largeur_popup=410;
	var L = (screen.width - largeur_popup) / 2;
	pop_up = window.open(votre_page,"Quotes","status=no,scrollbars=yes,resizable=no,height="+hauteur_popup+",width="+largeur_popup+",top="+H+",left="+L);
}
/* This script opens Bandwidth Calculator
   at: sport-webcasting.html   */
function newWindow(mypage,myname,w,h,features) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }else{winl = 0;wint =0;}
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}
