function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->


function popUp1(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 276,top = 232');");
}

function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=820,height=700,left = 20,top = 5');");
}

function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=620,left = 0,top = 0');");
}

function popUp4(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=715,height=450,left = 0,top = 0');");
}

function popUp5(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=310,left = 20,top = 5');");
}

function popUpVid(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=0,width=720,height=385,left = 20,top = 5');");
}

function popUpPaketSuperior(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=300,left = 20,top = 5');");
}

var a = qmad.qm0 = new Object();
		a.ibcss_apply_to = "parent";
		a.ibcss_main_type = "arrow";
		a.ibcss_main_direction = "down";
		a.ibcss_main_size = 5;
		a.ibcss_main_bg_color = "#FFF";
		a.ibcss_main_border_color = "#fff";
		a.ibcss_main_position_x = -8;
		a.ibcss_main_position_y = 0;
		a.ibcss_main_align_x = "right";
		a.ibcss_main_align_y = "middle";

		a.ibcss_sub_type = "arrow";
		a.ibcss_sub_direction = "right";
		a.ibcss_sub_size = 8;
		a.ibcss_sub_bg_color = "#FFF";
		a.ibcss_sub_border_color = "#fff";
		a.ibcss_sub_position_x = 0;
		a.ibcss_sub_position_y = 4;
		a.ibcss_sub_align_x = "right";
		a.ibcss_sub_align_y = "middle";

		a.rcorner_size = 5;
		a.rcorner_opacity = "0.45";
		a.rcorner_border_color = "#000000";
		a.rcorner_bg_color = "#92008d";
		a.rcorner_apply_corners = new Array(false,false,true,true);
		
if ( document.images )
{
eg12_on  = new Image ( );
eg12_off = new Image ( );
eg22_on  = new Image ( );
eg22_off = new Image ( );
eg33_on  = new Image ( );
eg33_off = new Image ( );
eg44_on  = new Image ( );
eg44_off = new Image ( );
eg55_on  = new Image ( );
eg55_off = new Image ( );
eg66_on  = new Image ( );
eg66_off = new Image ( );
eg77_on  = new Image ( );
eg77_off = new Image ( );


eg12_on.src = "pictures/menu_01_off.jpg"
eg12_off.src = "pictures/menu_01_on.jpg"
eg22_on.src = "pictures/menu_02_off.jpg"
eg22_off.src = "pictures/menu_02_on.jpg"
eg33_on.src = "pictures/menu_03_off.jpg"
eg33_off.src = "pictures/menu_03_on.jpg"
eg44_on.src = "pictures/menu_04_off.jpg"
eg44_off.src = "pictures/menu_04_on.jpg"
eg55_on.src = "pictures/menu_05_off.jpg"
eg55_off.src = "pictures/menu_05_on.jpg"
eg66_on.src = "pictures/menu_06_off.jpg"
eg66_off.src = "pictures/menu_06_on.jpg"
eg77_on.src = "pictures/menu_blank_02.gif"
eg77_off.src = "pictures/menu_blank_01.gif"
}

function button_on ( imgId )
{
  if ( document.images )
  {
    butOn = eval ( imgId + "_on.src" );
    document.getElementById(imgId).src = butOn;
  }
}

function button_off ( imgId )
{
  if ( document.images )
  {
    butOff = eval ( imgId + "_off.src" );
    document.getElementById(imgId).src = butOff;
  }
}
 function start() {
	CreateStaticMenu("MenuDiv", 0, 20);
}


