

/***********************************************

* Always Visible Combo Box- by JavaScript Kit (www.javascriptkit.com)

* This notice must stay intact for usage

* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more

***********************************************/

var alwayscombo={

	location: ["bottom", "right"], //Position of com box from window edge ["top|bottom", "left|right"]

	addoffset: [-5, 25], //Additional offset from specified location above [vertical_offset, horizontal offset]

	comboid: "visiblecombo", //ID of div containing floating combo

////////Stop editing past here///////////////////

	floatcombo:function(){

	var docElement=(document.compatMode=='CSS1Compat')? document.documentElement: document.body

	if (this.location[0]=="top")

		this.comboref.style.top=0+this.addoffset[0]+"px"

	else if (this.location[0]=="bottom")

		this.comboref.style.bottom=0+this.addoffset[0]+"px"

	if (this.location[1]=="left")

		this.comboref.style.left=0+this.addoffset[1]+"px"

	else if (this.location[1]=="right")

		this.comboref.style.right=0+this.addoffset[1]+"px"

	},



	init:function(){

	this.comboref=document.getElementById(this.comboid)

	this.comboref.style.visibility="visible"

	this.floatcombo()

	}

}

if (window.addEventListener)

window.addEventListener("load", function(){alwayscombo.init()}, false)

else if (window.attachEvent)

window.attachEvent("onload", function(){alwayscombo.init()})