var isvar o_icondisplay = truevar o_dl = document.location.toString()
is = new browserHandling()
function browserHandling(){
	// declared =/
	this.IE = 0
	this.NS = 0
	this.element = (document.getElementById) ? 1 : 0
	this.NSapp = (navigator.appName == "Netscape") ? 1 : 0
	this.IEapp = (navigator.appName == "Microsoft Internet Explorer") ? 1 : 0
	this.OPERAapp = (navigator.userAgent.indexOf("Opera") != -1)
	this.MAC = (navigator.userAgent.toLowerCase().indexOf("mac") != -1)
	this.WIN = (navigator.userAgent.toLowerCase().indexOf("windows") != -1)
	this.appver = navigator.appVersion
	if (this.IEapp)
		this.IE = (document.all) ? 1 : 0
	else if (this.NSapp && !this.element)
		this.NS = (document.layers) ? 1 : 0
	if (this.NSapp)
		this.version = parseFloat(this.appver)
	else
		this.version = parseFloat(this.appver.substr(this.appver.indexOf("MSIE") + 5, 3))
}function sethp(){
	ohp.style.behavior='url(#default#homepage)'
	ohp.setHomePage(o_dl)
}

function setbm(){
	window.external.AddFavorite(o_dl, document.title)
}function drawicons1(){
	if(o_icondisplay){
		if(is.IEapp && (is.version > 4) && !is.OPERAapp)
			document.write('<a href="javascript:sethp()" onMouseover="window.status=\'Gør til startside\';return true;" onMouseout="window.status=\'\'"><img src="/images/icons/home.gif" width="15" height="15" border="0" alt="Gør til startside" class="o-icons-img"></a> <a href="javascript:sethp()" onMouseover="window.status=\'Gør til startside\';return true;" onMouseout="window.status=\'\'" class="o-small-link">Gør til startside</a>&nbsp; <span id=\"ohp\"></span>')
		if (is.IEapp && (is.version > 3) && !is.OPERAapp)
			document.write('<a href="javascript:setbm()" onMouseover="window.status=\'Bookmark\';return true;" onMouseout="window.status=\'\'"><img src="/images/icons/bookmark.gif" width="15" height="15" border="0" alt="Bookmark" class="o-icons-img"></a> <a href="javascript:setbm()" onMouseover="window.status=\'Bookmark\';return true;" onMouseout="window.status=\'\'" class="o-small-link">Bookmark</a>')
	}
}function drawicons2(){
	if(o_icondisplay){
		if (is.IEapp && (is.version > 3) && !is.OPERAapp)
			document.write('<a href="javascript:setbm()" onMouseover="window.status=\'Bookmark\';return true;" onMouseout="window.status=\'\'"><img src="/images/icons/bookmark.gif" width="15" height="15" border="0" alt="Bookmark" class="o-icons-img"></a> <a href="javascript:setbm()" onMouseover="window.status=\'Bookmark\';return true;" onMouseout="window.status=\'\'" class="o-small-link">Bookmark</a>')
	}
}
