function fixflashinie() {
	theObjects = document.getElementsByTagName("object"); 
	for (var i = 0; i < theObjects.length; i++) { 
	theObjects[i].outerHTML = theObjects[i].outerHTML; 
	} 
}


//ROLLOVER
function setupRollover(thisImage) {
	var a = thisImage.src.split("/");
	var a_length = a.length-1;
	aa = a[a_length];
	thisImage.outImage = new Image();
	thisImage.outImage.src = thisImage.src;
	thisImage.onmouseout = rollOut;
	thisImage.overImage = new Image();
	thisImage.overImage.src = "/gl_images/nav/on/" + aa ;
	thisImage.onmouseover = rollOver;	
}

//ROLLOVER
function rolloverInit(){
	for (var i=0; i<document.images.length; i++) {
		if (document.images[i].getAttribute('name') == "rollover") {			
			setupRollover(document.images[i]);
		}
	}
}

//ROLLOVER
function rolloverInit1(){
		if (getElementById["submit"].getAttribute('name') == "rollover") {			
			setupRollover(document.images[i]);
		}
}

//ROLLOVER
function rollOver() {
	this.src = this.overImage.src;
}

//ROLLOVER
function rollOut() {
	this.src = this.outImage.src;
}

function masterloader(){
	rolloverInit();
	fixflashinie();
}

window.onload = masterloader;
