// JavaScript Document

function openinsert()
	{
	window.open("inserts.htm","Inserts",'Top=100,left=100,width=375,height=210,resizable=no,scrollbars=yes');
	}
	
function test()
{
alert("SMA");
}
function Submit1_onclick()
{
	x.submit();
}

active1 = new Image(26,26);
active1.src = "images/buttons/but1b.jpg";
inactive1 = new Image(26,26);
inactive1.src = "images/buttons/but1a.jpg";

active2 = new Image(26,26);
active2.src = "images/buttons/but2b.jpg";
inactive2 = new Image(26,26);
inactive2.src = "images/buttons/but2a.jpg";

active3 = new Image(26,26);
active3.src = "images/buttons/but3b.jpg";
inactive3 = new Image(26,26);
inactive3.src = "images/buttons/but3a.jpg";

active4 = new Image(26,26);
active4.src = "images/buttons/but4b.jpg";
inactive4 = new Image(26,26);
inactive4.src = "images/buttons/but4a.jpg";

active5 = new Image(26,26);
active5.src = "images/buttons/but5b.jpg";
inactive5 = new Image(26,26);
inactive5.src = "images/buttons/but5a.jpg";

active6 = new Image(26,26);
active6.src = "images/buttons/but6b.jpg";
inactive6 = new Image(26,26);
inactive6.src = "images/buttons/but6a.jpg";

active7 = new Image(26,26);
active7.src = "images/buttons/but7b.jpg";
inactive7 = new Image(26,26);
inactive7.src = "images/buttons/but7a.jpg";

active8 = new Image(26,26);
active8.src = "images/buttons/but8b.jpg";
inactive8 = new Image(26,26);
inactive8.src = "images/buttons/but8a.jpg";

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_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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

var slideimages=new Array()
var slidelinks=new Array()

function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages[i]=new Image()
slideimages[i].src=slideshowimages.arguments[i]
}
}

function slideshowlinks(){
for (i=0;i<slideshowlinks.arguments.length;i++)
slidelinks[i]=slideshowlinks.arguments[i]
}

function gotoshow(){
if (!window.winslide||winslide.closed)
winslide=window.open(slidelinks[whichlink])
else
winslide.location=slidelinks[whichlink]
winslide.focus()
}


//-->
