function browserCheck() {
window.defaultStatus=':: your extended enterprise ::';
if(is.ns6) {
page_width=innerWidth;
page_height=innerHeight;
layerSetup();
} else if(is.ie5 || is.ie55 ||is.ie6) {
page_width=document.body.clientWidth;
page_height=document.body.clientHeight;
layerSetup();
}
}

function Is() {
agent= navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns= ((agent.indexOf('mozilla') != -1) && ((agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1)));
this.ns4 = (this.ns && (this.major==4));
this.ns6 = (this.ns && (this.major>=5));
this.ie= (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major< 4));
this.ie4 = (this.ie && (this.major==4) && (agent.indexOf("msie 5.0") == -1));
this.ie5 = (this.ie && (this.major==4) && (agent.indexOf("msie 5.0") != -1));
this.ie55= (this.ie && (this.major==4) && (agent.indexOf("msie 5.5") != -1));
this.ie6= (this.ie && (agent.indexOf("msie 6.0")!=-1) );
}

var is = new Is();

function layerObjecttext(id,position,left,top,visibility) {
if (is.ie5|| is.ie55||is.ie6|| is.ns6){
this.obj = document.getElementById(id).style;
this.obj.position = position;
this.obj.left = left;
this.obj.top = top;
this.obj.visibility = visibility;
this.obj.height= 300;
this.obj.width= 500;
return this.obj;
}
}
function layerObjectimage(id,position,left,top,visibility) {
if (is.ie5|| is.ie55||is.ie6|| is.ns6){
this.obj = document.getElementById(id).style;
this.obj.position = position;
this.obj.left = left;
this.obj.top = top;
this.obj.visibility = visibility;
this.obj.height= 400;
this.obj.width= 600;
return this.obj;
}
}
function layerObjectmain(id,position,left,top,visibility) {
if (is.ie5|| is.ie55||is.ie6|| is.ns6){
this.obj = document.getElementById(id).style;
this.obj.position = position;
this.obj.left = left;
this.obj.top = top;
this.obj.visibility = visibility;
this.obj.height= 500;
this.obj.width= 800;
return this.obj;
}
}
function layerSetup() {
centerLyr0 = new layerObjecttext('centerLayertext','absolute', (page_width-500)/2,0,'visible');
centerLyr1 = new layerObjectimage('centerLayer1image','absolute', (page_width-600)/2,0,'visible');
centerLyr2 = new layerObjectmain('centerLayermain','absolute', (page_width-800)/2,0,'visible');
}

var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
function clickIE4(){
if (event.button==2){
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("return false")
