/// Begin Qualifying Exam Library **************************************************** EXAM_Netscape4 = true; EXAM_Microsoft = false; EXAM_oldbrowser = false; EXAM_setbrowser(); function EXAM_setbrowser() { // Set Browser Flags if( navigator.appName != "Netscape" ) { EXAM_Netscape4 = false; EXAM_Microsoft = true; } if( navigator.appVersion < 4 ) { EXAM_Netscape4 = false; EXAM_Microsoft = false; EXAM_oldbrowser = true; } } // End EXAM_setbrowser() function EXAM_getlayer(idstring) { // Find layer with given label if( EXAM_Netscape4 ) { return eval("document." + idstring); } else { return eval("document.all." + idstring); } } // End EXAM_getlayer() function EXAM_setbackgroundcolor(obj,actualcolor) { if( EXAM_Netscape4 ) { obj.bgColor = actualcolor; } else { obj.style.backgroundColor = actualcolor; } return; } // End EXAM_setbackgroundcolor(obj,actualcolor) function EXAM_layertotop(obj) { if(EXAM_Netscape4 ) { obj.zIndex = 1000; } else { obj.style.zIndex = 1000; } } // End EXAM_layertotop(obj) function EXAM_layershow(obj) { if(EXAM_isundefined(obj)) return; if(EXAM_Netscape4 ) { obj.visibility = "visible"; } else { obj.style.visibility = "visible"; } } // End EXAM_layershow(obj) // Shift to Absolute Page Position x,y for object (left,top) function EXAM_layershiftto(obj,x,y) { if(EXAM_Netscape4 ) { obj.moveTo(x,y); } else { obj.style.pixelLeft = x; obj.style.pixelTop = y; } } // End EXAM_layershiftto(obj,x,y)