
/*-------------------------------------------
pop up script
--------------------------------------------*/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2-20:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=10}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}

/*-------------------------------------------
preload -- swap -- restore etc
--------------------------------------------*/
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 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_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


/*-------------------------------------------
Required menu Settings
--------------------------------------------*/

   DQM_sub_menu_width = 120

  
   DQM_urltarget = "_self"
   
   DQM_onload_statement = ""
   DQM_codebase = ""

    
   DQM_border_color = "#666600"
   DQM_menu_bgcolor = "#DACC00"
   DQM_hl_bgcolor = "#DACC00"
   DQM_hl_bgcolor1 = "#DACC00"



   DQM_sub_xy = "0,0"
   DQM_border_width = 1
   DQM_divider_height = 1

   /*---IE5-MAC Offset Fix - The following two
   -----parameters correct a position reporting
   -----bug in IE5 on the Mac platform. Adjust
   -----the offsets below untill the first level
   -----sub menus pop up in the correct location.*/
   
   DQM_ie5mac_offset_X = 0
   DQM_ie5mac_offset_Y = -1


/*-------------------------------------------
Required font Settings
--------------------------------------------*/
   

   DQM_textcolor = "#666600"
   DQM_fontfamily = "Arial"
   DQM_fontsize = 11
   DQM_textdecoration = "normal"
   DQM_fontweight = "bold"
   DQM_fontstyle = "normal"
   DQM_hl_textcolor = "#000066"
   DQM_hl_textcolor1 = "#000066"
   DQM_hl_textdecoration = "normal"


   DQM_margin_top = 3
   DQM_margin_bottom = 3
   DQM_margin_left = 5



/*-------------------------------------------
Optional main menu rollover images
--------------------------------------------*/

  
   DQM_rollover_image0 = "images/butt_about_o.gif"
   DQM_rollover_wh0 = "120,22"

   DQM_rollover_image1 = "images/butt_teach_o.gif"
   DQM_rollover_wh1 = "120,22"

   DQM_rollover_image2 = "images/butt_prod_o.gif" 
   DQM_rollover_wh2 = "120,22"

   /*DQM_rollover_image3 = "images/butt_inter_o.gif" 
   DQM_rollover_wh3 = "120,22"*/

  


/*---------------------------------------------
Optional Icon Images
-----------------------------------------------*/

  /* DQM_icon_image0 = "images/menu/bullet.gif"
   DQM_icon_rollover0 = "images/menu/bullet_hl.gif"
   DQM_icon_image_wh0 = "13,10"
   
     DQM_icon_image1 = "images/menu/bullet.gif"
   DQM_icon_rollover1 = "images/menu/bullet_hl_main.gif"
   DQM_icon_image_wh1 = "13,10"*/



/*---------------------------------------------
Sub Menu Item Settings
-----------------------------------------------*/
//About Us
DQM_sub_xy0 = "-120,22"
DQM_sub_menu_width0 = 120
DQM_subdesc0_0 = "Our Vision"
DQM_subdesc0_1 = "Meet the Author"
DQM_subdesc0_2 = "Awards"
DQM_subdesc0_3 = "Testimonials"
DQM_subdesc0_4 = "Contact"

DQM_icon_index0_0 = 1
DQM_icon_index0_1 = 1
DQM_icon_index0_2 = 1
DQM_icon_index0_3 = 1
DQM_icon_index0_4 = 1

DQM_url0_0 = "aboutUs.asp"
DQM_url0_1 = "aboutUs.asp#author"
DQM_url0_2 = "aboutUs.asp#awards"
DQM_url0_3 = "aboutUs.asp#testimonials"
DQM_url0_4 = "aboutUs.asp#contact"


//Teachers
DQM_sub_xy1 = "-120,22"
DQM_sub_menu_width1 = 120;
DQM_subdesc1_0 = "Resources"
DQM_subdesc1_1 = "Curriculum Standards"
//DQM_subdesc1_2 = "Case Studies"
//DQM_subdesc1_3 = "Advisory Panel"
//DQM_subdesc1_2 = "Professional Development"


DQM_icon_index1_0 = 0
DQM_icon_index1_1 = 0
//DQM_icon_index1_2 = 0
//DQM_icon_index1_3 = 0
//DQM_icon_index1_2 = 0

DQM_url1_0 = "teach_Resources.asp"
DQM_url1_1 = "teach_Standards.asp"
//DQM_url1_2 = "teach_CaseStudies.asp"
//DQM_url1_3 = "teach_Advisory.asp"
//DQM_url1_2 = "teach_ProDevelopment.asp"


//Products
DQM_sub_xy2 = "-120,22"
DQM_sub_menu_width2 = 120

DQM_subdesc2_0 = "All Products" 
DQM_subdesc2_1 = "Inner Explorers" 
DQM_subdesc2_2 = "Body Parts" 
DQM_subdesc2_3 = "Keeping Healthy" 
DQM_subdesc2_4 = "Aches &amp; Pains" 
DQM_subdesc2_5 = "Growing &amp; Developing" 
DQM_subdesc2_6 = "Feelings &amp; Worries" 
DQM_subdesc2_7 = "Digital Resource" 


DQM_icon_index2_0 = 0
DQM_icon_index2_1 = 0
DQM_icon_index2_2 = 0
DQM_icon_index2_3 = 0
DQM_icon_index2_4 = 0
DQM_icon_index2_5 = 0
DQM_icon_index2_6 = 0
DQM_icon_index2_7 = 0


DQM_url2_0 = "prod_all.asp"
DQM_url2_1 = "prod_innerEx.asp"
DQM_url2_2 = "prod_BParts.asp"
DQM_url2_3 = "prod_KHealthy.asp"
DQM_url2_4 = "prod_APains.asp"
DQM_url2_5 = "prod_GDeveloping.asp"
DQM_url2_6 = "prod_FWorries.asp"
DQM_url2_7 = "teach_Resources.asp"


//Internet Delivery
/*DQM_sub_xy3 = "-120,22"
DQM_sub_menu_width3 = 120
DQM_subdesc3_0 = "Qld Locations"
DQM_subdesc3_1 = "Nsw Locations"

DQM_icon_index3_0 = 0
DQM_icon_index3_1 = 0

DQM_url3_0 = "locationsQLD.asp"
DQM_url3_1 = "locationsNSW.asp"*/