function InshortNO(){
	
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/no/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' +
				   '	<div class="NewsHeader" align="left">Presse</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Lyktes i kapitaljakt"<br><a href="http://www.na24.no/naeringsliv/article671027.ece" class="orangelink" target="_blank">NA24</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "B&oslash;rskandidat p&aring; kapitaljakt"<br><a href="http://www.na24.no/naeringsliv/article664805.ece" class="orangelink" target="_blank">NA24</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Venter eksplosiv vekst"<br>Finansavisen</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "- Hanoa kj&oslash;per p&aring; frykt"<br><a href="http://www.dagensit.no/finans/article800365.ece" class="orangelink" target="_blank">Dagens IT</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Nettl&oslash;sninger selger"<br>Aftenposten</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Satser stort i Sverige"<br><a href="http://www.na24.no/article645256.ece" class="orangelink" target="_blank">NA24</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Fant vekstmaskin i gr&aring;markedet"<br><a href="http://www.orapp.no/nyhetsarkiv/41147" class="orangelink" target="_blank">&Oslash;konomisk rapport</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "IT flytter hjemmefra"<br><a href="http://www.computerworld.no/index.cfm/fuseaction/artikkel/id/59797" class="orangelink" target="_blank">Dagens IT</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Spennende spill om Active 24"<br><a href="http://www.digi.no/resultater%2Ffinans/spennende+spill+om+active+24/art304387.html" class="orangelink" target="_blank">Digi</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Hva mener ERP-utstillerne?"<br><a href="http://www.logistikk-ledelse.no/2006/it/it05-02.htm" class="orangelink" target="_blank">Dagens IT</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Bluegarden og 24SevenOffice:Vil kapre kunder med ERP over nett<br><a href="http://www.digi.no/php/art.php?id=292871" class="orangelink" target="_blank">Digi</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "- Tidenes beste sponsoravtale"<br><a href="http://www.dagbladet.no/sport/2006/01/20/455302.html" class="orangelink" target="_blank">Dagbladet</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Norsk selskap med omfattende Ajax-l&oslash;sning" <br><a href="http://www.digi.no/php/art.php?id=287416" class="orangelink" target="_blank">Digi</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Risa vil p&aring; b&oslash;rs i &aring;r" <br>Finansavisen</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "Active 24 og 24SevenOffice inng&aring;r samarbeid" <br><a href="http://www.digi.no/php/art.php?id=286470" class="orangelink" target="_blank">Digi</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><a href="press.htm" class="orangelink" style="font-weight:bold;">Flere nyheter</a></div>' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu">'+
				   '	<div class="NewsHeader" align="left">Nyheter</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 06.09.06<br><a href="/webpage/no/dokument/Pressemelding06092006.pdf" target="_blank">Fokus Bank, Bluegarden og 24SevenOffice f&oslash;rst i verden med forretningsl&oslash;sninger integrert i nettbanken. Les pressemeldingen her.</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 02.03.06<br><a href="/webpage/no/PRESSEMELDING_BLUEGARDEN_247.doc" target="_blank">Bluegarden AS og 24SevenOffice AS har inng&aring;tt samarbeidsavtale om felles markedsf&oslash;ring og salg av hverandres internettbaserte tjenester.</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 20.01.06<br>24SevenOffice sponser Petter Solberg som ogs&aring; g&aring;r inn som aksjon&aelig;r.</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 11.01.06<br>24SevenOffice og Active 24 inng&aring;r avtale om produkt- og markedssamarbeid</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05.12.05<br>24SevenOffice inng&aring;r intensjonsavtale med Telenor</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05.10.05<br>24SevenOffice er listet p&aring; OTC i Oslo</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 15.08.05<br>Fulltegnet emisjon</ul></li></div>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Siste nedlastinger</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="images/24SevenOffice Stillingsannonse.pdf" class="orangelink" target="_blank">Stillingsannonse  (PDF)</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocrb.exe" class="orangelink">OCR-B Font</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser(Beta)</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions  (PDF)</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release  (PDF)</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English  (PDF)</a></ul></li></div>' +
				   '</tr>' +
				   '</table>');
				   
} 

function InshortNO_new(){
    getArticleXML("5", "front", "NO");
}

function InshortNO_newPaint(txt){
    txt = txt +
          '<div class="PageText" align="left"><ul id="shorts_new"><li><a href="press.htm" class="redlink">Arkiv</a></ul></li></div>';
    
    Ext.get("inshort_no").update(txt);
}

function InshortSE_new(){
	getArticleXML("5", "front", "SE");
	
}

function InshortSE_newPaint(txt){
    txt = txt +
          '<div class="PageText" align="left"><ul id="shorts_new"><li><a href="press.htm" class="redlink">Arkiv</a></ul></li></div>';
    
    Ext.get("inshort_se").update(txt);
}




function InshortWebexNo(){
	document.write('	<a href="news.htm" class="greenlink">News</a>' +
				   '	<div class="PageText" align="left"><ul id="news_webex"><li> <strong>21.05.07</strong><br>Det milj&oslash;vennlige kontoret<br><a href="http://www.oyatel.no/files/Oyatel%20i%20Mobile%20Magazine%5B1%5D.pdf" target="_blank" class="greenlink">Mobile Business Magazine (Bilag DN)</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="news_webex"><li> <strong>18.04.07</strong><br>I rallyfart mot et IT-eventyr<br><a href="http://e24.no/it/article1741654.ece" target="_blank" class="greenlink">More</a></ul></li></div>');
	
}

function InshortNO_products(){
	document.write('<br><div class="PageText" align="left"><font size="2"><strong>L&ouml;sningsguide</strong></font><br>Vi hj&auml;lper dig hitta den optimala l&ouml;sningen f&ouml;r just ditt f&ouml;retag!<br><a href="#" class="redlink">L&auml;s mer</a></div>' +
				   '<div class="PageText" align="left"><font size="2"><strong>Till&auml;ggstj&auml;nster</strong></font><br>F&ouml;rdelaktiga till&auml;ggstj&auml;nster kopplade tlll v&aring;rt aff&auml;rssystem<br><a href="#" class="redlink">L&auml;s mer</a></div>' +
				   '<div class="PageText" align="left"><font size="2"><strong>Vilket paket v&auml;ljer du?</strong></font><br>Vi har ett stort antal f&auml;rdiga paketl&ouml;sningar att v&auml;lja mellan.<br><a href="#" class="redlink">L&auml;s mer</a></div>');
	
}

function InshortAllinone(){
	document.write('<div class="PageText" align="left"><ul id="shorts_new"><li><strong>Skiensbedrift gj&oslash;r suksess p&aring; IT<br><a href="http://www.ta.no/nyheter/grenland/article2741644.ece" class="redlink" target="_blank">ta.no</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts_new"><li><strong>Fokus Bank, Bluegarden og 24SevenOffice f&oslash;rst i verden med forretningsl&oslash;sninger integrert i nettbanken.<br><a href="/webpage/no/dokument/Pressemelding06092006.pdf" class="redlink" target="_blank">Pressemelding</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts_new"><li><strong>Fokus bank, bluegarden og 24SevenOffice har f&aring;tt p&aring; plass f&oslash;rste kunde i sitt samarbeid.<br><a href="#" class="redlink">Finansavisen 19.03.2006</a></ul></li></div>');
	
}


//LOGIN BOXES
var loginImgStyle = "style=\"background: url(/website/images/24SObanner.gif);background-repeat: no-repeat;\"";
var loginUrl;
if ( document.location.hostname == "dev.24sevenoffice.com" ){
    loginUrl = 'http://dev.24sevenoffice.com/login';
}else{
    loginUrl = 'https://www.24sevenoffice.com/login';
}
var loginAnchorStyle = "style=\"font-size:14px;\"";

function LoginBoxNO(){
	//return;
	//var loginUrl;
	//loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=119'
	//if ( document.location.hostname == "dev.24sevenoffice.com" )
	//    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=no';
	/*
	if ( document.location.hostname == "dev.24sevenoffice.com" ){
	    loginUrl = 'http://dev.24sevenoffice.com/login';
	}else{
	    loginUrl = 'https://www.24sevenoffice.com/login';
	}
	*/
	document.write('<table width="100%" '+ loginImgStyle +' height="82" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%">');
	
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Logg inn</a></div>");
	
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=80 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}


function LoginBoxNo_forside(){
	//return;
	//var loginUrl;
	//loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1001&LanguageId=119'
	//if ( document.location.hostname == "dev.24sevenoffice.com" )
	//    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=no';
	/*
	if ( document.location.hostname == "dev.24sevenoffice.com" ){
	    loginUrl = 'http://dev.24sevenoffice.com/login';
	}else{
	    loginUrl = 'https://www.24sevenoffice.com/login';
	}*/
	
	document.write('<table width="100%" '+ loginImgStyle +'  height="69" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Logg inn</a></div>");
	
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=69 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
		
}


function LoginBoxSE(){
	//return;
    /*
	var loginUrl;
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=154'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=se';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=154'
	*/
	document.write('<table width="100%" '+ loginImgStyle +' height="82" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Logga in</a></div>");
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=80 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}

function LoginBoxSE_forside(){
	//return;
    /*
	var loginUrl;
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1001&LanguageId=154'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=se';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1001&LanguageId=154'
	*/
	
	document.write('<table width="100%" '+ loginImgStyle +' height="69" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=69 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Logga in</a></div>");
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}

function LoginBoxEN(){
	//return;

	/*var loginUrl = "";
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=47'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=en';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=47'
	*/
	document.write('<table id="table-login" '+ loginImgStyle +' width="100%" height="82" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Log in</a></div>");
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=80 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
	/*var el = document.getElementById('table-login');
	if ( el ) {
		var oldClass = el.className;
		el.className += ' repaint';
		el.className = oldClass;
	}*/
	
}


function LoginBoxEN_forside(){
	//return;
	/*var loginUrl = "";
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1001&LanguageId=47'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=en';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1001&LanguageId=47'
	*/
	document.write('<table id="table-login" '+ loginImgStyle +' width="100%" height="69" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Log in</a></div>");
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=69 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}


function LoginBoxINT(){
	//return;
	/*var loginUrl = "";
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=0'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=int';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=0'
	*/
	document.write('<table width="100%" '+ loginImgStyle +' height="82" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Log in</a></div>");
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=80 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}


function LoginBoxDE(){
	//return;
	/*var loginUrl;
	loginUrl = 'https://www.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=59'
	if ( document.location.hostname == "dev.24sevenoffice.com" )
	    loginUrl = 'http://dev.24sevenoffice.com/scriptaspx/newlogin/login.asp?lang=de';
		//loginUrl = 'http://dev.24sevenoffice.com/script/client/httpslogin/login_form.asp?siteId=1000&LanguageId=59'
	*/
	document.write('<table width="100%" '+ loginImgStyle +' height="82" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="right">');
	
	document.write("<div style=\"padding:20px;font-weight:bold;\"><a href=\""+ loginUrl +"\" "+ loginAnchorStyle +">Log in</a></div>");
	//document.write('<IFRAME src="' + loginUrl + '" border=0 style="border:0px" frameborder=0 margin=0 height=80 width=100% scrolling=no marginwidth=0></IFRAME>');
	document.write('</td>');	
	document.write('</tr>');
	document.write('</table>');
}

//END LOGIN BOXES




function topMenuNO(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	var myProductMenu = new WebFXMenu;
	
	mySubMenu.add(new WebFXMenuItem("International<br>", "/webpage/int/", ""));
	mySubMenu.add(new WebFXMenuItem("Germany<br>", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Sweden<br>", "/webpage/se/", ""));
	mySubMenu.add(new WebFXMenuItem("UK", "/webpage/en/", ""));
	
	myProductMenu.add(new WebFXMenuItem("Oversikt<br>", "products_crm.html", ""));
	myProductMenu.add(new WebFXMenuItem("CRM<br>", "products.html", ""));
	myProductMenu.add(new WebFXMenuItem("&Oslash;konomi<br>", "products_erp.html", ""));
	myProductMenu.add(new WebFXMenuItem("Prosjekt", "products_project.html", ""));
	myProductMenu.add(new WebFXMenuItem("E-handel", "products_ecommerce.html", ""));
	myProductMenu.add(new WebFXMenuItem("------------", "", ""));
	myProductMenu.add(new WebFXMenuItem("Mobilitet", "products_mobility.html", ""));
	myProductMenu.add(new WebFXMenuItem("SaaS", "products_saas.html", ""));
	myProductMenu.add(new WebFXMenuItem("Milj&oslash;", "environment.htm", ""));
	myProductMenu.add(new WebFXMenuItem("Sikkerhet", "products_security.html", ""));
	
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Forside", "index.htm", "G&aring; til forside "));
	//myBar.add(new WebFXMenuButton("Produkter", "products.htm", "Se v&aring;re produkter"));
	myBar.add(new WebFXMenuButton("L&oslash;sninger", "", "Se v&aring;re l&oslash;sninger", myProductMenu , false));
	myBar.add(new WebFXMenuButton("Kontakt", "Kontaktskjema.html", "Hvordan komme i kontakt med oss"));
	myBar.add(new WebFXMenuButton("Presse", "press.htm", ""));
	myBar.add(new WebFXMenuButton("Partnere", "partners.html", "V&aring;re partnere"));
	myBar.add(new WebFXMenuButton("Kundereferanser", "kundereferanser.html", "Kundereferanser"));
	myBar.add(new WebFXMenuButton("Support", "customer_service.htm", "Kundeservice"));
	myBar.add(new WebFXMenuButton("Kurs", "kurs.html", "Kurs i 24SevenOffice"));
	myBar.add(new WebFXMenuButton("Prosjekt login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=119');", "Prosjektbrukere kan logge inn her"));
	myBar.add(new WebFXMenuButton("Investor Relations", "IR.htm", "Investor Relations"));
	myBar.add(new WebFXMenuButton("Karriere", "karriere.htm", "Karrieremuligheter"));
	myBar.add(new WebFXMenuButton("Land", "", "Velg land", mySubMenu ,true));

	document.write(myBar)
	
}


function topMenuFokus(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	
	mySubMenu.add(new WebFXMenuItem("International<br>", "/webpage/int/", ""));
	mySubMenu.add(new WebFXMenuItem("Germany<br>", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Sweden<br>", "/webpage/se/", ""));
	mySubMenu.add(new WebFXMenuItem("UK", "/webpage/en/", ""));
	
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Hjem", "allinone.html", "Hjem "));
	//myBar.add(new WebFXMenuButton("G&aring; til 24SevenOffice sine hjemmeside", "http://www.24sevenoffice.no/", "G&aring; til forside "));
	myBar.add(new WebFXMenuButton("G&aring; til 24SevenOffice sine hjemmeside", "http://www.24sevenoffice.no/", "G&aring; til forside "));
	
	document.write(myBar)
	
}

function topMenuWebex(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	
	mySubMenu.add(new WebFXMenuItem("Norway<br>", "/webpage/no/", ""));
	mySubMenu.add(new WebFXMenuItem("Germany<br>", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Sweden<br>", "/webpage/se/", ""));
	 
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Main Page", "index.htm", "Go to main page"));
	myBar.add(new WebFXMenuButton("CRM", "webex_crm.htm", "CRM"));
	myBar.add(new WebFXMenuButton("Collaboration", "webex_collaboration.htm", "Collaboration"));
	myBar.add(new WebFXMenuButton("Web Conferencing", "webex_meetingcenter.htm", "Web Conferencing"));
	myBar.add(new WebFXMenuButton("Education", "education.html", "Education"));
	myBar.add(new WebFXMenuButton("Support", "support.html", "Support"));
	myBar.add(new WebFXMenuButton("Investor Relations", "IR.html", "Read more about Investor Relations"));
	myBar.add(new WebFXMenuButton("Project login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=119');", "Prosjektbrukere kan logge inn her"));
	myBar.add(new WebFXMenuButton("Country", "", "Choose Country", mySubMenu ,true));
	
	
	document.write(myBar)
	myBar.repaint();
}

function topMenuWebexNo(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	
	 
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Forside", "webex.htm", "Forside"));
	myBar.add(new WebFXMenuButton("CRM", "webex_crm.htm", "CRM"));
	myBar.add(new WebFXMenuButton("Samhandling", "webex_collaboration.htm", "Samhandling"));
	myBar.add(new WebFXMenuButton("Webkonferanser", "webex_meetingcenter.htm", "Webkonferanser"));
	myBar.add(new WebFXMenuButton("24SevenOffice", "index.htm", "24SevenOffice"));
	myBar.add(new WebFXMenuButton("WebEx", "http://www.webex.com", "WebEx"));
	//myBar.add(new WebFXMenuButton("Partners", "partners_webex.htm", "Our partners"));
	//myBar.add(new WebFXMenuButton("Project login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=47');", "Project users log in here"));

	
	document.write(myBar)
	myBar.repaint();
}



function RightMenuNo(mode){

	if(mode == 1)
	{
		addMenuElement(1, "Forside", null, null);
		addMenuElement(3, "Oversikt", "index.htm", "_self");
		addMenuElement(3, "Produkter", "Products.htm", "_self");
		addMenuElement(3, "Nyheter", "news.htm", "_self");
		addMenuElement(3, "Ledig stilling", "stillingsannonse.htm", "_self");
		addMenuElement(1, "V&aring;rt Konsept", null, null);
		addMenuElement(3, "Oversikt", "concept.htm", "_self");
		
	}
	if(mode == 2)
	{
		addMenuElement(1, "Produkter", null, null);
		addMenuElement(3, "Oversikt", "products.htm", "_self");
		addMenuElement(3, "Start", "product_start.htm", "_self");
		addMenuElement(3, "Start +", "product_startplus.htm", "_self");
		addMenuElement(3, "CRM", "product_crm.htm", "_self");
		addMenuElement(3, "Professional", "product_pro.htm", "_self");
		addMenuElement(3, "Premium", "product_premium.htm", "_self");
		//addMenuElement(3, "Custom", "product_custom.htm", "_self");
		//addMenuElement(3, "24SevenSync", "24SevenSync.htm", "_self");
		addMenuElement(3, "Moduler", "modules.htm", "_self");
		addMenuElement(3, "Bestill", "registration_freetrial.html", "_blank");
		
	}
	if(mode == 3)
	{
		addMenuElement(1, "V&aring;rt Konsept", null, null);
		addMenuElement(3, "Oversikt", "concept.htm", "_self");
		addMenuElement(3, "Hvorfor webbasert", "why_web_based.htm", "_self");	
		addMenuElement(3, "Tradisjonelt vs. Web", "trad_vs_web.htm", "_self");
		addMenuElement(3, "Jobb mobilt", "mobile_office.htm", "_self");			
	}
	if(mode == 4)
	{
		addMenuElement(1, "Kontakt", null, null);	
		addMenuElement(3, "Oversikt", "contact.htm", "_self");
	}
	if(mode == 5)
	{
		addMenuElement(1, "Presse", null, null);	
	}
	if(mode == 6)
	{
		addMenuElement(1, "Partnere", null, null);	
	}
	if(mode == 7)
	{
		//addMenuElement(1, "24SevenSync", null, null);	
	}
	
	if(mode == 8)
	{
		addMenuElement(1, "Investor Relations", "investorRelation.htm", "_self");	
		addMenuElement(3, "Generelt", "general.htm", "_self");
		//addMenuElement(3, "&Aring;rsrapport", "report.htm", "_self");
		addMenuElement(3, "Aksjekurs", "http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO", "_blank")
		addMenuElement(3, "Aksjon&aelig;roversikt", "stockoverview.htm", "_self");
		addMenuElement(3, "Aksjon&aelig;rservice", "service.htm", "_self");
		addMenuElement(3, "Generalforsamling", "meeting.htm", "_self");
		addMenuElement(3, "Firmapresentasjon", "companypresentation.htm", "_self");
		addMenuElement(3, "IC-Rapport", "ic.htm", "_self");
		addMenuElement(3, "Styret og ledelse", "board.htm", "_self");
	}

	if(mode == 9){
		addMenuElement(1, "Solberg Zone", "solberg.htm", "_self");
		addMenuElement(3, "Oversikt", "solberg_zone.htm", "_self");	
		addMenuElement(3, "Pr&oslash;vekj&oslash;r 24SevenOffice", "online_demo.htm", "_self");
		addMenuElement(3, "Bildegalleri", "solberg_gallery.htm", "_self");
	}
	
	addMenuElement(1, "Oppl&aelig;ring", null, null);
	addMenuElement(3, "Online demo", "online_demo.htm", "_self");
	addMenuElement(3, "F A Q", "faq.htm", "_self");
	addMenuElement(3, "Kursplan", "kurs.htm", "_self");
	addMenuElement(3, "Kundecaser", "kundereferanser.html", "_self");
	addMenuElement(1, "Support", null, null);
	addMenuElement(3, "Kundeservice", "customer_service.htm", "_self");
	addMenuElement(3, "Kontakt", "contact.htm", "_self");
	addMenuElement(3, "Nedlastinger", "downloads.htm", "_self");
	addMenuElement(1, "Utvikling", null, null);
	//addMenuElement(3, "Ajax / Web 2.0", "ajax.htm", "_self");
	//addMenuElement(3, "Web-services / XML / REST", "api.htm", "_self");
	addMenuElement(3, "Blog", "http://blog.24SevenOffice.com", "_self");
	document.write('<br><center><img src="images/ring_bestill.jpg"><a href="#" onclick="window.open(\'flash/flashdemo_norway.html\',\'Popup\',\'width=1016,height=675,status=1,menubar=0\')\;"><img src="images/presentasjon_no.jpg" border="0"></a><br><br><p class="PageText"><font color="#757575">Hovedpartnere:</font><br><br><a href="partners.htm#fokusbank"><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_fokusbank.gif" border="0"></a><br><a href="partners.htm#crystone"><img src="http://static3.24sevenoffice.com/webpage/se/images/co_logo/crystone_small.gif" border="0"></a><br><a href="partners.htm#telenor"><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_telenor.gif" border="0"></a><br><a href="partners.htm#bbs"><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_bbs.gif" border="0"></a><br><br><a href="partners.htm#bluegarden"><img src="http://static3.24sevenoffice.com/webpage/no/images/partner_bluegarden.gif" border="0"></a><br><br><a href="partners.htm">&Oslash;vrige partnere</a></center>');
}
function InshortSE(){
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/se/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' +
				   '	<div class="NewsHeader" align="left">Press<br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "Tidernas b&auml;sta sponsoravtal"<br><a href="http://www.dagbladet.no/sport/2006/01/20/455302.html" class="orangelink" target="_blank">Dagbladet</a><br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice skalar ner och angriper Mamut"<br><a href="http://www.digi.no/php/art.php?id=277113" class="orangelink" target="_blank">Digi.no</a><br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "Flytta kontoret till stranden!"<br><a href="http://www.dagbladet.no/nyheter/2005/07/18/437772.html" class="orangelink" target="_blank">Dagbladet.no</a><br><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice utmanar Plaxo"<br><a href="http://www.digi.no/php/art.php?id=216007" class="orangelink" target="_blank">Digi.no</a><br><a href="http://www.computerworld.no/index.cfm/ill_liste/artikkel/id/51411" class="orangelink" target="_blank">Computerworld</a><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice p&aring; investerares dr&ouml;mlista"<br><a href="http://www.hegnar.no/Finansavisen/newsdet.asp?id=180825&cat=110" class="orangelink" target="_blank">Hegnar.no</a><br><a href="http://www.digi.no/php/art.php?id=212867" class="orangelink" target="_blank">Digi.no</a><br><a href="http://www.ta.no/nyheter/grenland/article1562715.ece" class="orangelink" target="_blank">Telemarksavisa</a><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice genom uppk&ouml;p av svensk konkurrent"<br><a href="http://www.hegnar.no/IT-Kanalen/newsdet.asp?id=175139&cat=110" class="orangelink" target="_blank">Hegnar.no</a><br><a href="http://www.digi.no/php/art.php?id=117387" class="orangelink" target="_blank">Digi.no</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "P&aring; pengajakt i City"<br><a href="http://www.dn.no" class="orangelink" target="_blank">Dagens n&aelig;ringsliv 18/05/2005</a><br></div>' +
				   '	<!--div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice ypper til ERP-krig: Utfordrer de st&oslash;rste"<br><a href="http://www.hegnar.no" class="orangelink" target="_blank">Kapital 8/2005</a></div-->' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Nyheter<br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> 06-09-06<br><a href="/webpage/se/dokument/Pressemelding06092006_se.pdf" target="_blank">Fokus Bank, Bluegarden och 24SevenOffice f&ouml;rst i v&auml;rlden med aff&auml;rsl&ouml;sningar integrerade i internetbanken. L&auml;s pressmeddelandet h&auml;r.</a></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> 06-03-02<br>24SevenOffice ing&aring;r samarbete med Bluegarden</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 06-01-10<br>24SevenOffice ing&aring;r samarbete med Active24</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-10-05<br>24SevenOffice listas p&aring; OTC-listan i Oslo</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-08-15<br>Fulltecknar emission</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-08-07<br>Studentf&ouml;reningen BI Nydalen v&auml;ljer 24SevenOffice</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-04-29<br>B&auml;sta internationella investeringscase i SeedForum</div>' +

				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-02-12<br>K&ouml;per svensk konkurrent</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-01-24<br>Nominerade till &Aring;rets produkt 2005 av Kapital</div>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Nedladdningar<br><br></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser(Beta)</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocr-b.ttf" class="orangelink">OCR-B Font</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Efficiency and Cost Reductions.pdf</a></div>' +
				   '</tr>' +
				   '</table>');
} 

function RightmenuIR(){
	document.write('<table width="100%"  border="0">' +
                       ' <tr>' +
                        '  <td><p><br>' +
						' <br>' +
                          '  <img src="images/ir_kontakt.jpg"><br>' +
                           ' <br>' +
                           ' <br>' +
						   ' <br>' +
						   ' <br>' +
                         ' </p>' +
                          '  <p><img src="images/IR_header_selskapet.jpg" width="244" height="37"></p>' +
							' <div align="left">' +
                          '  <ul id="shorts_ir">' +
							 ' <li><strong><a href="IR_irpolicy.html" class="irlink">Corporate Governance</a></strong></li>' +
							 ' <li><strong><a href="IR_ledelsen.html" class="irlink">Ledelsen</a></strong></li>' +
							 ' <li><strong><a href="IR_styret.html" class="irlink">Styret</a></strong></li>' +
							 ' <li><strong><a href="IR_investorpresentasjon.html" class="irlink">Investorpresentasjon</a></strong></li>' +
							 ' <li><strong><a href="IR_firmapresentasjon.html" class="irlink">Firmapresentasjon</a></strong></li>' +
							 ' <li><strong><a href="IR_generalforsamling.html" class="irlink">Generalforsamling</a></strong></li>' +
							 ' <li><strong><a href="IR_irkontakt.html" class="irlink">IR-kontakt</a></strong></li>' +
							'</ul>' +
						   ' </div>' +
                              '<br>' +
                          '<p><img src="images/IR_header_finans.jpg"></p>' +
						  '<div align="left">' +
                             ' <ul id="shorts_ir">' +
							 ' <li><strong><a href="http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO" class="irlink" target="blank">Aksjekurs</a></strong></li>' +
							 ' <li><strong><a href="IR_aksjonaroversikt.html" class="irlink">Aksjon&aelig;roversikt</a></strong></li>' +
							 ' <li><strong><a href="IR_analyserapporter.html" class="irlink">Analyserapporter</a></strong></li>' +
							 ' <li><strong><a href="IR_finansrapporter.html" class="irlink">Finansrapporter</a></strong></li>' +
							 ' <li><strong><a href="IR_borsmeldinger.html" class="irlink">B&oslash;rsmeldinger</a></strong></li>' +
							 ' <li><strong><a href="IR_finanskalender.html" class="irlink">Finansiell kalender</a></strong></li>' +
							'</ul>' +
						   ' </div>' +
                         ' <br>' +
                         ' <p><img src="images/IR_header_presse.jpg"></p>' +
						 ' <div align="left">' +
                             ' <ul id="shorts_ir">' +
							 ' <li>' +
							 ' <strong><a href="IR_logotyper.html" class="irlink">Logoer</a></strong>' +
								'</li>' +
								'  <li>' +
							 ' <strong><a href="IR_bilder.html" class="irlink">Bilder</a></strong></li>' +
								'<li>' +
							 ' <strong><a href="IR_pressekontakt.html" class="irlink">Pressekontakt</a></strong>' +
								'</li>' +
							 //'<li>' +
							 //' <strong><a href="/webpage/no/active24_tvisten.html" class="irlink">Active24 tvisten</a></strong>' +
							 //'</li>' +
							'</ul>' +
						   ' </div>' +
						 ' </td>' +
                       ' </tr>' +
                     ' </table>');
	
}


function TimeStampToDate(xmlDate)
{
    var dt = new Date();
    var dtS = xmlDate.slice(xmlDate.indexOf('T')+1, xmlDate.indexOf('.'))
    var TimeArray = dtS.split(":");
    dtS = xmlDate.slice(0, xmlDate.indexOf('T'))
    TimeArray = dtS.split("-");
    return TimeArray[2] + "." + TimeArray[1] + "." + TimeArray[0];
    
}

function PressArchieve(){
    getArticleXML("", "archieve", "no");
    
}


function PressArchievePaint(txt){
    Ext.get("press-archieve").update(txt);
}

function PressArchieveSE(){
    getArticleXML("", "archieve", "se");
}



function HeadlinesIR(){
    
    getArticleXML("10", "IR");
    getMessagesXml("getlast", "IR");
      
    var info;
    info =  '<p>&nbsp;</p>'+
            '<p><img src="images/IR_headers_hz.jpg"></p>'+
            '<table width="90%"  border="0" cellspacing="2" cellpadding="2">'+
	            '<tr>'+
  		            '<td width="40%" valign="top">'+
		            '<div align="left">'+
		            '<ul id="articlesFeed_new">' +                            
		            '</ul>'+
 		            '</div>'+
		            '</td>'+
  		            '<td width="20%">&nbsp;'+
		            '</td>'+
  		            '<td width="35%" valign="top"><div align="left">'+
		            '<ul id="messageFeed_new">'+
		            '</ul>'+
		            '</div>'+
		            '</td>'+
  		            '<td width="17%" valign="top">'+
		            '</td>'+
		            '</tr>'+
          '</table>'+
          '<p>&nbsp;</p>'+
          '<p>&nbsp;</p>';
    
    Ext.get("headlines_IR").update(info);
         
}

function IRMessagePaint(txt){
    Ext.get("messageFeed_new").update(txt);
}

function IRArticlesPaint(txt){
    Ext.get("articlesFeed_new").update(txt);
}


function getMessagesXml(reportType, paint){
        if(!reportType){
        reportType = "all";
    }
    var url ="";
    if( reportType == "all"){
        url = "/scriptaspx/registration/xml/getmessages.aspx"
    }else if( reportType == "getlast" ){
        url = "/scriptaspx/registration/xml/getmessages.aspx?Getlast=10"
    }
    
    var xml = "";
    var txt = "";
    var ajax = new Ajax.Request(
	    url,
	    { 
			method: "get",
			asynchronous:true,
		    onSuccess: function(res) {
	            xml = res.responseXML;
	            if(paint == "IR"){
	                txt = GetMessageTextIR(xml);
	                IRMessagePaint(txt);
	            }
            }.bind(this)
	    }
    );
    
    return xml;
}

function getReportXML(reportType){
    if(!reportType){
        reportType = "all";
    }
    var url ="";
    if( reportType == "all"){
        url = "/scriptaspx/registration/xml/getreports.aspx"
    }else if( reportType == "getlast" ){
        url = "/scriptaspx/registration/xml/getreports.aspx?Getlast=10"
    }
    
    var xml = "";
    var ajax = new Ajax.Request(
	    url,
	    { 
			method: "get",
			asynchronous:true,
		    onSuccess: function(res) {
	            xml = res.responseXML;
            }.bind(this)
	    }
    );
    
    return xml;
}

function getArticleXML(reportType, paint, language){
    if(!reportType){
        reportType = "";
    }
    
    if(!language){
        language = "NO";   
    }
    
    
    var url ="";
    
    if( reportType != ""){
        url = "/scriptaspx/registration/xml/getArticles.aspx?articleNo=" + reportType + "&language=" + language;
    }else {
        url = "/scriptaspx/registration/xml/getArticles.aspx?Getlast=10&language=" + language;
    }
    
    var xml = "";
    var txt = "";
    
    
        
    Ext.Ajax.request(
    { 
        url: url, 
        method: "get",
        
        success: function(res) {
            
            var xml = res.responseXML;
            if(paint == "front"){
               txt = GetArticleTextFronPage(xml);
               if( language == "NO" ){
                    InshortNO_newPaint(txt);
               }else if( language == "SE" ){
                    InshortSE_newPaint(txt);
               }
                       
            }else if( paint == "archieve"){
               txt = GetPressText(xml);
               PressArchievePaint(txt);
                             
            }else if(paint == "IR"){
               txt = GetArticleText(xml);
               IRArticlesPaint(txt);
            }
        },

        failure: function(res) {
           var xml = res.responseXML;
           alert(xml.xml);
        }
    });
   
}

function GetMessageTextIR(xmlDoc){
    var xmlNode;
    var mainNode = Ext.DomQuery.selectNode( 'press_releases', xmlDoc, '' );	    
    var date, headline, href, dateobj;
    var txt = "";
    for(var node = mainNode.firstChild; node != null; node = node.nextSibling ){
	    date = "";
	    headline ="";
	    href = "";
	    var item  = node.getAttribute("id"); 
	    for(var nodeItem = node.firstChild; nodeItem != null; nodeItem = nodeItem.nextSibling ){
	        switch(nodeItem.nodeName){
	            case "published":
	                date = nodeItem.getAttribute("date"); 
	                date = TimeStampToDate(date);
	                break;
	            case "headline":
	                headline = Ext.DomQuery.selectValue( 'headline', node, '' );
	                break;
	            case "location":
	                href = nodeItem.getAttribute("href");
	                break;    
	        }
        }
        if(date != ""){
            txt += '<li><a href="/webpage/no/bors/default.asp?url='+ href +'" class="redlink" target="blank"><strong>'+ date +'</a><br>';
            txt += '<a href="/webpage/no/bors/default.asp?url='+ href +'" class="irlink" target="blank">'+ headline +'</a></strong><strong></strong></li>';
        }
    }
    return txt;
}

function GetArticleText(xmlDoc){
   var xmlNode;
    var mainNode = Ext.DomQuery.selectNode( 'articles', xmlDoc, '' );	    
    var date, headline, href, dateobj, fileNode, txt= "";
    var ingress = "", file_headline = "", file_location = "";

    for(var node = mainNode.firstChild; node != null; node = node.nextSibling ){
        date = "";
        headline ="";
        href = "";
        ingress = "";
        file_headline = "";
        file_location = "";
        var item  = node.getAttribute("id"); 
        for(var nodeItem = node.firstChild; nodeItem != null; nodeItem = nodeItem.nextSibling ){
            switch(nodeItem.nodeName){
                case "published":
                    date = nodeItem.getAttribute("date"); 
                    date = TimeStampToDate(date);
                    break;
                case "headline":
                    headline = nodeItem.text;
                    break;
                case "ingress":
                    ingress = nodeItem.text;
                    break;    
                case "file":
                    file_headline = Ext.DomQuery.selectValue( 'file_headline', nodeItem, '');
                    file_location = Ext.DomQuery.selectValue( 'file_location', nodeItem, '');
                    break;
            }
        }
        if(date != ""){
            txt += '<li><a href="'+ file_location +'" class="redlink" target="blank"><strong>'+ date +'</a><br>';
            txt += '<a href="'+ file_location +'" class="irlink" target="blank">'+ headline +'</a></strong><strong></strong></li>';
        }
    }
    return txt;
}

function GetPressText(xmlDoc){
    var xmlNode;
    var mainNode = Ext.DomQuery.selectNode( 'articles', xmlDoc, '' );	    
    var date, headline, href, dateobj, fileNode, txt= "";
    var ingress = "", file_headline = "", file_location = "";

    for(var node = mainNode.firstChild; node != null; node = node.nextSibling ){
        date = "";
        headline ="";
        href = "";
        ingress = "";
        file_headline = "";
        file_location = "";
        var item  = node.getAttribute("id"); 
        for(var nodeItem = node.firstChild; nodeItem != null; nodeItem = nodeItem.nextSibling ){
            switch(nodeItem.nodeName){
                case "published":
                    date = nodeItem.getAttribute("date"); 
                    date = TimeStampToDate(date);
                    break;
                case "headline":
                    headline = nodeItem.text;
                    break;
                case "ingress":
                    ingress = nodeItem.text;
                    break;    
                case "file":
                    file_headline = Ext.DomQuery.selectValue( 'file_headline', nodeItem, '');
                    file_location = Ext.DomQuery.selectValue( 'file_location', nodeItem, '');
                    break;
            }
        }
        if(date != ""){
           txt +=   '<div class="headline"><a target="_blank" href="'+ file_location +'">'+ headline + '</a></div>' +
                    '<div class="resume">'+ ingress +'</div>' +
                    '<div class="source"> '+ date +'</div>' +
                    '<p class="newsStory">';
        }
    }
    return txt;
}

function GetArticleTextFronPage(xmlDoc){
    var xmlNode;
    var mainNode = Ext.DomQuery.selectNode( 'articles', xmlDoc, '' );	    
    var date, headline, href, dateobj, fileNode, txt= "";
    var ingress = "", file_headline = "", file_location = "";
    
    for(var node = mainNode.firstChild; node != null; node = node.nextSibling ){
        date = "";
        headline ="";
        href = "";
        ingress = "";
        file_headline = "";
        file_location = "";
        var item  = node.getAttribute("id"); 
        for(var nodeItem = node.firstChild; nodeItem != null; nodeItem = nodeItem.nextSibling ){
            switch(nodeItem.nodeName){
                case "published":
                    date = nodeItem.getAttribute("date"); 
                    date = TimeStampToDate(date);
                    break;
                case "headline":
                    headline = nodeItem.text;
                    break;
                case "ingress":
                    ingress = nodeItem.text;
                    break;    
                case "file":
                    file_headline = Ext.DomQuery.selectValue( 'file_headline', nodeItem, '');
                    file_location = Ext.DomQuery.selectValue( 'file_location', nodeItem, '');
                    break;
            }
        }
        if(date != ""){
           txt += '<div align="left"><ul id="shorts_new"><li><strong>'+ headline +'</strong><br><a href="'+ file_location +'" target="_blank" class="redlink">Les mer</a></ul></li></div>'; 
           
        }
    }
    return txt;
        
   
}

function BannerNO(){
	document.write('');
}


// SWEDISH

function InshortSE(){
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/se/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' +
				   '	<div class="NewsHeader" align="left">Press<br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "Tidernas b&auml;sta sponsoravtal"<br><a href="http://www.dagbladet.no/sport/2006/01/20/455302.html" class="orangelink" target="_blank">Dagbladet</a><br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice skalar ner och angriper Mamut"<br><a href="http://www.digi.no/php/art.php?id=277113" class="orangelink" target="_blank">Digi.no</a><br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> "Flytta kontoret till stranden!"<br><a href="http://www.dagbladet.no/nyheter/2005/07/18/437772.html" class="orangelink" target="_blank">Dagbladet.no</a><br><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice utmanar Plaxo"<br><a href="http://www.digi.no/php/art.php?id=216007" class="orangelink" target="_blank">Digi.no</a><br><a href="http://www.computerworld.no/index.cfm/ill_liste/artikkel/id/51411" class="orangelink" target="_blank">Computerworld</a><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice p&aring; investerares dr&ouml;mlista"<br><a href="http://www.hegnar.no/Finansavisen/newsdet.asp?id=180825&cat=110" class="orangelink" target="_blank">Hegnar.no</a><br><a href="http://www.digi.no/php/art.php?id=212867" class="orangelink" target="_blank">Digi.no</a><br><a href="http://www.ta.no/nyheter/grenland/article1562715.ece" class="orangelink" target="_blank">Telemarksavisa</a><br></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice genom uppk&ouml;p av svensk konkurrent"<br><a href="http://www.hegnar.no/IT-Kanalen/newsdet.asp?id=175139&cat=110" class="orangelink" target="_blank">Hegnar.no</a><br><a href="http://www.digi.no/php/art.php?id=117387" class="orangelink" target="_blank">Digi.no</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "P&aring; pengajakt i City"<br><a href="http://www.dn.no" class="orangelink" target="_blank">Dagens n&aelig;ringsliv 18/05/2005</a><br></div>' +
				   '	<!--div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice ypper til ERP-krig: Utfordrer de st&oslash;rste"<br><a href="http://www.hegnar.no" class="orangelink" target="_blank">Kapital 8/2005</a></div-->' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Nyheter<br><br></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> 06-09-06<br><a href="/webpage/se/dokument/Pressemelding06092006_se.pdf" target="_blank">Fokus Bank, Bluegarden och 24SevenOffice f&ouml;rst i v&auml;rlden med aff&auml;rsl&ouml;sningar integrerade i internetbanken. L&auml;s pressmeddelandet h&auml;r.</a></div>' +
'	<div class="PageText" align="left"><ul id="shorts"><li> 06-03-02<br>24SevenOffice ing&aring;r samarbete med Bluegarden</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 06-01-10<br>24SevenOffice ing&aring;r samarbete med Active24</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-10-05<br>24SevenOffice listas p&aring; OTC-listan i Oslo</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-08-15<br>Fulltecknar emission</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-08-07<br>Studentf&ouml;reningen BI Nydalen v&auml;ljer 24SevenOffice</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-04-29<br>B&auml;sta internationella investeringscase i SeedForum</div>' +

				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-02-12<br>K&ouml;per svensk konkurrent</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 05-01-24<br>Nominerade till &Aring;rets produkt 2005 av Kapital</div>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Nedladdningar<br><br></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser(Beta)</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocr-b.ttf" class="orangelink">OCR-B Font</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Efficiency and Cost Reductions.pdf</a></div>' +
				   '</tr>' +
				   '</table>');
} 






function topMenuSE(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	var myProductMenu = new WebFXMenu;
	
	mySubMenu.add(new WebFXMenuItem("International<br>", "/webpage/int/", ""));
	mySubMenu.add(new WebFXMenuItem("Germany<br>", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Norway<br>", "/webpage/no/", ""));
	mySubMenu.add(new WebFXMenuItem("UK", "/webpage/en/", ""));
	
	myProductMenu.add(new WebFXMenuItem("&Ouml;versikt", "products.html", ""));
	myProductMenu.add(new WebFXMenuItem("CRM<br>", "products_crm.html", ""));
	myProductMenu.add(new WebFXMenuItem("Ekonomi", "products_erp.html", ""));
	myProductMenu.add(new WebFXMenuItem("Projekt", "products_project.html", ""));
	myProductMenu.add(new WebFXMenuItem("E-handel", "products_ecommerce.html", ""));
	myProductMenu.add(new WebFXMenuItem("------------", "", ""));
	myProductMenu.add(new WebFXMenuItem("Mobilitet", "products_mobility.html", ""));
	myProductMenu.add(new WebFXMenuItem("SaaS", "products_saas.html", ""));
	myProductMenu.add(new WebFXMenuItem("Milj&ouml;", "environment.htm", ""));
	myProductMenu.add(new WebFXMenuItem("S&auml;kerhet", "products_security.html", ""));
	
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Hem", "index.htm", "G&aring; till f&ouml;rstasidan "));
	myBar.add(new WebFXMenuButton("L&ouml;sningar", "", "Se v&aring;ra l&ouml;sningar", myProductMenu , false));
	myBar.add(new WebFXMenuButton("Partners", "partners.html", "V&aring;ra partners"));
	myBar.add(new WebFXMenuButton("Press", "press.html", "24SevenOffice i pressen"));
	myBar.add(new WebFXMenuButton("Support", "support.html", "Support"));
	myBar.add(new WebFXMenuButton("Utbildning", "courses.html", "Utbildning i 24SevenOffice"));
	myBar.add(new WebFXMenuButton("Karri&auml;r", "career.html", "Karri&auml;rm&ouml;jligheter hos 24SevenOffice"));
	myBar.add(new WebFXMenuButton("Kontakt", "contact.html", "Kontakta oss"));
	myBar.add(new WebFXMenuButton("Projektlogin", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=154');", "Inloggning f&ouml;r projektdeltagare"));
	//myBar.add(new WebFXMenuButton("24SevenSync", "24sevensync.htm", "L&auml;s mer om 24SevenSync"));
	myBar.add(new WebFXMenuButton("Investor Relations", "javascript:void window.open('/webpage/no/IR.htm');", "Investor Relations"));
	myBar.add(new WebFXMenuButton("Land", "", "V&auml;lg", mySubMenu, true));

	document.write(myBar)
	
}


function topMenuWebexSe(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	
	 
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Hem", "webex.htm", "Hem"));
	myBar.add(new WebFXMenuButton("CRM", "webex_crm.htm", "CRM"));
	myBar.add(new WebFXMenuButton("Samarbete", "webex_collaboration.htm", "Samarbete"));
	myBar.add(new WebFXMenuButton("Webbkonferenser", "webex_meetingcenter.htm", "Webbkonferenser"));
	myBar.add(new WebFXMenuButton("24SevenOffice", "index.htm", "24SevenOffice"));
	myBar.add(new WebFXMenuButton("WebEx", "http://www.webex.com", "WebEx"));
	//myBar.add(new WebFXMenuButton("Partners", "partners_webex.htm", "Our partners"));
	//myBar.add(new WebFXMenuButton("Project login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=47');", "Project users log in here"));

	
	document.write(myBar)
	myBar.repaint();
}


function RightMenuSE(mode){

	if(mode == 1)
	{
		addMenuElement(1, "Hem", null, null);
		addMenuElement(3, "&Ouml;versikt", "index.htm", "_self");
		addMenuElement(3, "Produkter", "Products.htm", "_self");
		addMenuElement(3, "Nyheter", "news.htm", "_self");
		
	}
	if(mode == 2)
	{
		addMenuElement(1, "Produkter", null, null);
		addMenuElement(3, "&Ouml;versikt", "products.htm", "_self");
		addMenuElement(3, "CRM", "product_crm.htm", "_self");
		addMenuElement(3, "Pro", "product_pro.htm", "_self");
		addMenuElement(3, "Premium", "product_premium.htm", "_self");
		//addMenuElement(3, "Custom", "product_custom.htm", "_self");
		addMenuElement(3, "Moduler", "modules.htm", "_self");
		//addMenuElement(3, "Best&auml;ll", "https://www.24sevenoffice.com/website/registration/Start.asp?languageId=119&SiteId=82", "_blank");
		
	}
	if(mode == 3)
	{
		addMenuElement(1, "Varf&ouml;r webbaserat", null, null);		
	}
	if(mode == 4)
	{
		addMenuElement(1, "Kontakt", null, null);	
		addMenuElement(3, "&Ouml;versikt", "contact.htm", "_self");
		addMenuElement(3, "Lediga platser", "stillingsannonse.htm", "_self");	
	}
	if(mode == 5)
	{
		addMenuElement(1, "Press", null, null);	
	}
	if(mode == 6)
	{
		addMenuElement(1, "Partners", null, null);	
	}
	if(mode == 7)
	{
		//addMenuElement(1, "24SevenSync", null, null);	
	}
	
	if(mode == 8)
	{
		addMenuElement(1, "Investor Relations", "investorRelation.htm", "_self");	
		addMenuElement(3, "Generellt om f&ouml;retaget", "general.htm", "_self");
		//addMenuElement(3, "&Aring;rsrapport", "report.htm", "_self");
		addMenuElement(3,"Aktiekurs","http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO", "_blank")
		addMenuElement(3, "Aktie&auml;gar&ouml;versikt", "stockoverview.htm", "_self");
		addMenuElement(3, "Aktie&auml;garservice", "service.htm", "_self");
		addMenuElement(3, "&Aring;rsst&auml;mma", "meeting.htm", "_self");
		addMenuElement(3, "F&ouml;retagspresentation", "companypresentation.htm", "_self");
		addMenuElement(3, "IC-Rapport", "ic.htm", "_self");
		addMenuElement(3, "Styrelse och ledning", "board.htm", "_self");
	}

	if(mode == 9){
		addMenuElement(1, "Solberg Zone", "solberg.htm", "_self");
		addMenuElement(3, "&Ouml;versikt", "solberg_zone.htm", "_self");	
		addMenuElement(3, "Provk&ouml;r 24SevenOffice", "online_demo.htm", "_self");
		addMenuElement(3, "Bildgalleri", "solberg.htm", "_self");
	}

	
	addMenuElement(1, "Utbildning", null, null);
	addMenuElement(3, "Online demo", "online_demo.htm", "_self");
	addMenuElement(3, "F A Q", "faq.htm", "_self");
	addMenuElement(3, "Kursplan", "kurs.htm", "_self");
	addMenuElement(3, "Kundstudier", "case_studies.htm", "_self");
	addMenuElement(1, "Support", null, null);
	addMenuElement(3, "Kundservice", "customer_service.htm", "_self");
	addMenuElement(3, "Kontakt", "contact.htm", "_self");
	addMenuElement(3, "Nedladdningar", "downloads.htm", "_self");
	addMenuElement(1, "Utvikling", null, null);
	//addMenuElement(3, "Ajax / Web 2.0", "ajax.htm", "_self");
	//addMenuElement(3, "Web-services / XML / REST", "api.htm", "_self");
	addMenuElement(3, "Blog", "http://blog.24SevenOffice.com", "_self");
	document.write('<br><center><img src="images/ring_bestill.jpg"><a href="#" onclick="window.open(\'flashdemo_sweden.html\',\'Popup\',\'width=1016,height=675,status=1,menubar=0\')\;"><img src="images/presentation_se.jpg" border="0"></a><br><br><p class="PageText"><font color="#757575">Huvudpartners:</font><br><br><a href="partners.htm#fokusbank"><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_fokusbank.gif" border="0"></a><a href="partners.htm#crystone"><img src="http://static3.24sevenoffice.com/webpage/se/images/co_logo/crystone_small.gif" border="0"></a><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_telenor.gif"><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_bbs.gif"><br><br><img src="http://static3.24sevenoffice.com/webpage/no/images/partner_bluegarden.gif"><br><br><a href="partners.htm">&Ouml;vriga partners</a></center>');
}


function BannerSE(){
	document.write('<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p><br></p><p>&nbsp;<a href="http://www.24sevenoffice.com/canon/24so_canon.htm"><img src="images/canon_banner.gif" border="0"></a></p>');
}


// ENGLISH

function InshortWebex(){
	document.write('	<a href="news.htm" class="greenlink">News</a>' +
				   '	<div class="PageText" align="left"><ul id="news_webex"><li> <strong>01.03.07</strong><br>Webex and 24SevenOffice have entered a joint marketing and sales cooperation.<br><a href="documents/webex/24Sevenoffice_webex_press.pdf" target="_blank" class="greenlink">More</a></ul></li></div>');
	
}

function InshortEN(){
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/en/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' + 
				   '<div class="NewsHeader" align="left">Press coverage</div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "Norwegian Bank Advances Internet Model With Back-Office Features"<br><a href="http://www.banknet360.com/news/NewsAbstract.do?na_id=5180" class="orangelink" target="_blank">BankNet 360</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "New Internet Banking Model Launched In Norway"<br><a href="http://www.crm2day.com/news/crm/119695.php" class="orangelink" target="_blank">CRM Today</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "Fokus Bank and 24SevenOffice Develop Web banking system for SMEs"<br><a href="http://news.tmcnet.com/news/2006/09/07/1869789.htm" class="orangelink" target="_blank">TMCnet</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "Fokus Bank launches integrated Web banking, payroll and accounting system for SMEs"<br><a href="http://www.finextra.com/fullstory.asp?id=15810" class="orangelink" target="_blank">Finextra</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice Expands Through The Acquisition Of Web-Based Erp Vendor"<br>Finance UK</ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "Virtual Compliance"<br><a href="http://www.24SevenOffice.com/website/website/download.asp?fileId=292118&SiteId=82" class="orangelink" target="_blank">Accountancy Age</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "ASP model aimed at solving IFRS issues"<br><a href="http://www.24SevenOffice.com/website/website/download.asp?fileId=291920&SiteId=82" class="orangelink" target="_blank">Mind your own business</a></ul></li></div>' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu"><div class="NewsHeader" align="left">News</div><div class="PageText" align="left"><ul id="shorts"><li> 10.01.06: 24SevenOffice has entered into a joint product and marketing cooperation with Active 24 which has 350 000 customers in Europe</div><div class="PageText" align="left"><ul id="shorts"><li> 12.12.05: 24SevenOffice has signed a partner agreement with Telenor, the leading Norwegian telecom company</div><div class="PageText" align="left"><ul id="shorts"><li> 05.10.05: 24SevenOffice is listed on the OTC stock exchange</div><div class="PageText" align="left"><ul id="shorts"><li> 12.02.05: 24SevenOffice bought the leading Swedish competitor</div><div class="PageText" align="left"><ul id="shorts"><li> 24.01.05: 24SevenOffice nominated as product of the year by Capital business magazine</div></td>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Latest downloads</div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocr-b.ttf" class="orangelink">OCR-B Font</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Efficiency and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Flexibility and Home Office.pdf</a></td>' +
				   '</tr>' +
				   '</table>');
}         

function InshortEN_new(){
	document.write('	<a href="news.htm" class="redlink">News</a>' +
				   //'	<div class="PageText" align="left"><ul id="shorts_new"><li>Fokus Bank, Bluegarden and 24SevenOffice first in the world with business system integrated in the web bank.<br><a href="/webpage/no/dokument/Pressemelding06092006.pdf" target="_blank" class="redlink">More</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts_new"><li>Bluegarden AS and 24SevenOffice have entered a joint marketing and sales cooperation.<br><a href="/webpage/no/PRESSEMELDING_BLUEGARDEN_247.doc" target="_blank" class="redlink">More</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts_new"><li>24SevenOffice sets the standard within web-applications in collaboration with Microsoft and Google<br><a href="/webpage/en/documents/pm_20070326.pdf" target="_blank" class="redlink">Press Release</a></ul></li></div>');
	
}




function RightMenuEN(mode){

	if(mode == 1)
	{
		addMenuElement(1, "Home", null, null);
		addMenuElement(3, "Overview", "index.htm", "_self");
		addMenuElement(3, "Products", "Products.htm", "_self");
		addMenuElement(3, "News", "news.htm", "_self");
		addMenuElement(1, "Our Concept", null, null);
		addMenuElement(3, "Overview", "concept.htm", "_self");
		
	}

	if(mode == 2)
	{
		addMenuElement(1, "Products", null, null);
		addMenuElement(3, "Overview", "products.htm", "_self");
		addMenuElement(3, "Start", "product_start.htm", "_self");
		addMenuElement(3, "Start +", "product_startplus.htm", "_self");
		addMenuElement(3, "CRM", "product_crm.htm", "_self");
		addMenuElement(3, "Professional", "product_pro.htm", "_self");
		addMenuElement(3, "Premium", "product_premium.htm", "_self");
		addMenuElement(3, "Custom", "modules.htm", "_self");
		//addMenuElement(3, "24SevenSync", "24SevenSync.htm", "_self");
		addMenuElement(3, "Modules", "modules.htm", "_self");
		addMenuElement(3, "Order", "https://www.24sevenoffice.com/website/registration/Start.asp?languageId=47&SiteId=82", "_blank");
		
	}

	if(mode == 3)
	{
		addMenuElement(1, "Our concept", null, null);
		addMenuElement(3, "Overview", "concept.htm", "_self");
		addMenuElement(3, "Why web based", "why_web_based.htm", "_self");	
		addMenuElement(3, "Traditional vs. Web", "trad_vs_web.htm", "_self");	
	}

	if(mode == 4)
	{
		addMenuElement(1, "Contact", null, null);	
		addMenuElement(3, "Overview", "contact.htm", "_self");
	}

	if(mode == 5)
	{
		addMenuElement(1, "Press", null, null);	
		addMenuElement(3, "Press Coverage", "press.htm", "_self");	
	}

	if(mode == 6)
	{
		addMenuElement(1, "Partners", null, null);
		addMenuElement(3, "Partner program", "partners.htm", "_self");	
	}


	if(mode == 8){
		addMenuElement(1, "Investor Relations", "investorRelation.htm", "_self");	
		addMenuElement(3, "General", "general.htm", "_self");
		//addMenuElement(3, "Annual Reports", "report.htm", "_self");
		addMenuElement(3, "Share price","http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO","_blank") 
		addMenuElement(3, "Shareholder Overview", "stockoverview.htm", "_self");
		addMenuElement(3, "Shareholder Service", "service.htm", "_self");
		addMenuElement(3, "Annual General Meeting", "meeting.htm", "_self");
		addMenuElement(3, "Company presentation", "companypresentation.htm", "_self");
		addMenuElement(3, "IC-Rapport", "ic.htm", "_self");
		addMenuElement(3, "Board and Management", "board.htm", "_self");
	}

	if(mode == 9){
		addMenuElement(1, "Solberg Zone", "solberg_zone.htm", "_self");
		addMenuElement(3, "Overview", "solberg_zone.htm", "_self");	
		addMenuElement(3, "Test drive 24SevenOffice", "online_demo.htm", "_self");
		addMenuElement(3, "Picture gallery", "solberg.htm", "_self");
	}


	addMenuElement(1, "Training", null, null);
	addMenuElement(3, "Online demo", "online_demo.htm", "_self");
	addMenuElement(3, "F A Q", "faq.htm", "_self");
	addMenuElement(3, "Customer cases", "case_studies.htm", "_self");
	addMenuElement(1, "Support", null, null);
	addMenuElement(3, "Customer service", "customer_service.htm", "_self");
	addMenuElement(3, "Contact", "contact.htm", "_self");
	addMenuElement(3, "Downloads", "downloads.htm", "_self");
	addMenuElement(1, "Development", null, null);
	//addMenuElement(3, "Ajax / Web 2.0", "ajax.htm", "_self");
	//addMenuElement(3, "Web-services / XML / REST", "api.htm", "_self");
	addMenuElement(3, "Blog", "http://blog.24SevenOffice.com", "_self");

	document.write('<br><br><center><img src="images/ring_bestill.jpg"><a href="#" onclick="window.open(\'flash/flashdemo_uk.html\',\'Popup\',\'width=1016,height=675,status=1,menubar=0\')\;"><img src="images/presentation_en.jpg" border="0"></a><br><br><p class="PageText"><font color="#757575">Main partners:</font><br><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_telenor.gif"><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_bbs.gif"><br><br><img src="http://static3.24sevenoffice.com/webpage/en/images/partner_bluegarden.gif"><br><br><a href="partners.htm">Other Partners</a></center>');
}


function BannerEN(){
	document.write('');
}


function topMenuEN(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	mySubMenu.add(new WebFXMenuItem("International<br>", "/webpage/int/", ""));
	mySubMenu.add(new WebFXMenuItem("Germany<br>", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Norway<br>", "/webpage/no/", ""));
	mySubMenu.add(new WebFXMenuItem("Sweden", "/webpage/se/", ""));
	 
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Main Page", "index.htm", "Go to main page"));
	myBar.add(new WebFXMenuButton("Products", "products.htm", "View our products"));
	myBar.add(new WebFXMenuButton("Concept", "concept.htm", "Our Concept"));
	myBar.add(new WebFXMenuButton("Contact", "contact.htm", "How to contact us"));
	myBar.add(new WebFXMenuButton("Press", "press.htm", "Press releases about 24SevenOffice"));
	myBar.add(new WebFXMenuButton("Partners", "partners.htm", "Our partners"));
	myBar.add(new WebFXMenuButton("Project login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=47');", "Project users log in here"));
	//myBar.add(new WebFXMenuButton("24SevenSync", "24sevensync.htm", "Learn more about 24SevenSync"));
	myBar.add(new WebFXMenuButton("Investor Relations", "investorRelation.htm", "Read more about Investor Relations"));
	myBar.add(new WebFXMenuButton("Country", null, "Change country", mySubMenu, true));

	document.write(myBar)
	
}

// GERMAN
function InshortDE(){
	
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/no/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' +
				   '	<div class="NewsHeader" align="left">Presse</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice gewinnt Active 24  als Partner" <br><a href="http://www.digi.no/php/art.php?id=286470" class="orangelink" target="_blank">Digi</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><a href="press.htm" class="orangelink" style="font-weight:bold;">Mehr News..</a></div>' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu">'+
				   '	<div class="NewsHeader" align="left">News</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 20.01.06<br>24SevenOffice wird neuer Hauptsponsor f&uuml;r Ralley-Weltmeister Petter Solberg.</ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 11.01.06<br>24SevenOffice und Active 24 werden ein Produkt- und Marketingzusammarbeit </ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> 24.01.05<br>24SevenOffice wurde bei OTC in Oslo aufgenommen</ul></li></div>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Letzte Downloads</div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="images/24SevenOffice Stillingsannonse.pdf" class="orangelink" target="_blank"> Aktuelle Stellenanzeige (PDF)</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocrb.exe" class="orangelink">OCR-B Font</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser(Beta)</a></ul></li></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions  (PDF - Englisch)</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release  (PDF Englisch)</a></ul></li></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English  (PDF Englisch)</a></ul></li></div>' +
				   '</tr>' +
				   '</table>');
				   
} 




function topMenuDE(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";

	var mySubMenu = new WebFXMenu;
	mySubMenu.add(new WebFXMenuItem("English", "/webpage/en/", ""));
	mySubMenu.add(new WebFXMenuItem("International", "/webpage/int/", ""));
	mySubMenu.add(new WebFXMenuItem("Norsk", "/webpage/no/", ""));
	mySubMenu.add(new WebFXMenuItem("Svenska", "/webpage/se/", ""));
	
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Home", "/webpage/de/index.htm", "Zur&uuml;ck zur Hauptseite "));
	myBar.add(new WebFXMenuButton("Produkte", "/webpage/de/products.htm", "Produkte anschauen"));
	myBar.add(new WebFXMenuButton("Konzept", "/webpage/de/concept.htm", "Konzept"));
	myBar.add(new WebFXMenuButton("Kontakt", "/webpage/de/contact.htm", "Wie Sie uns erreichen"));
	myBar.add(new WebFXMenuButton("News", "/webpage/de/press.htm", "Die letzten News"));
	myBar.add(new WebFXMenuButton("Partner", "/webpage/de/partners.htm", "Unser Partner"));
	myBar.add(new WebFXMenuButton("Projekt Login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=59');", "Projektteilnehmer k&ouml;nnen sich hier einloggen"));
	//myBar.add(new WebFXMenuButton("24SevenSync", "24sevensync.htm", "Erfahren Sie mehr &uuml;ber 24SevenSync"));
	myBar.add(new WebFXMenuButton("Investor Relations", "/webpage/de/investorRelation.htm", "Mehr zum Investor Relations"));
	myBar.add(new WebFXMenuButton("Sprache", "", "Sprache wechseln", mySubMenu));

	document.write(myBar)
	
}

function RightMenuDE(mode){
	// Startpage
	if(mode == 1)
	{
		addMenuElement(1, "Home" , null, null);
		addMenuElement(3, "Case Studies", "/webpage/de/case_studies.htm", "_self");
	}
	// Products
	if(mode == 2)
	{
		addMenuElement(1, "Produkte", "/webpage/de/products.htm","_self");
		addMenuElement(3, "Start", "/webpage/de/product_start.htm", "_self");
		//addMenuElement(3, "Start +", "product_startplus.htm", "_self");
		addMenuElement(3, "CRM", "/webpage/de/product_crm.htm", "_self");
		addMenuElement(3, "Professional", "/webpage/de/product_pro.htm", "_self");
		//addMenuElement(3, "Premium", "product_premium.htm", "_self");
		addMenuElement(3, "Custom", "/webpage/de/product_custom.htm", "_self");
		//addMenuElement(3, "24SevenSync", "/webpage/de/24SevenSync.htm", "_self");
		addMenuElement(3, "Module", "/webpage/de/modules.htm", "_self");
		addMenuElement(3, "Bestellen", " /webpage/de/products.htm", "_self");
	}
	// konzept
	if(mode == 3)
	{
		addMenuElement(1, "Konzept", "/webpage/de/concept.htm", "_self");
		addMenuElement(3, "Warum Web-based", "/why_web_based.htm", "_self");
		addMenuElement(3, "Case Studies", "/webpage/de/case_studies.htm", "_self");			
	}
	// kontakt
	if(mode == 4)
	{
		addMenuElement(1, "Kontakt", null, null);
		addMenuElement(3, "Worldwide", "/webpage/de/contact_world.htm", "_self");	
	}
	// Presse
	if(mode == 5)
	{
		addMenuElement(1, "Presse", "/webpage/de/press.htm", "_self");
		addMenuElement(3, "ERP Blog", "http://erp-24sevenoffice.blogspot.com/", "_blank");
	}
	// Partner
	if(mode == 6)
	{
		addMenuElement(1, "Partner", "/webpage/de/partner.htm", "_self");	
	}
	// 24SevenSync
	if(mode == 7)
	{
		//addMenuElement(1, "24SevenSync", "/webpage/de/24svensync,htm", "_self");	
	}
	// Investor Relation
	if(mode == 8)
	{
		addMenuElement(3, "Investor Relations", "/webpage/de/investorRelation.htm", "_self");	
		addMenuElement(3, "Allgemeines", "/webpage/de/general.htm", "_self");
		addMenuElement(3, "Aktienkurs", "http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO", "_blank")
		addMenuElement(3, "Aktion&auml;rs&uuml;bersicht", "/webpage/de/stockoverview.htm", "_self");
		addMenuElement(3, "Aktoion&auml;rsservice", "/webpage/de/service.htm", "_self");
		addMenuElement(3, "Aktion&auml;rsversammlung", "/webpage/de/meeting.htm", "_self");
		addMenuElement(3, "Firmenpr&auml;sentation", "/webpage/de/companypresentation.htm", "_self");
		addMenuElement(3, "IC-Rapport", "/webpage/de/ic.htm", "_self");
		addMenuElement(3, "Management", "/webpage/de/board.htm", "_self");	
	}
	// Solber Zone
	if(mode == 9){
		addMenuElement(3, "Online Demo 24SevenOffice", "/webpage/de/online_demo.htm", "_self");
		
	}
	// auf jeder Seite enthalten
	// support
		addMenuElement(1, "Support", null, null);
		addMenuElement(3, "F A Q", "/webpage/de/faq.htm", "_self");
		addMenuElement(3, "Glossar", "/webpage/de/glossar.htm", "_self");
		addMenuElement(3, "Downloads", "/webpage/de/downloads.htm", "_self");
	// kontakt
		addMenuElement(1, "Kontakt", null, null);
		addMenuElement(3, "Jobs & Karriere", "/webpage/de/karriere.htm", "_self");
		addMenuElement(3, "Online Demo", "/webpage/de/online_demo.htm", "_self");
		addMenuElement(3, "Kundenservice", "/webpage/de/customer_service.htm", "_self");
		addMenuElement(3, "Kontakt", "/webpage/de/contact.htm", "_self");
		
	
		document.write('<br><br><center><p class="PageText"><font color="#757575">Partner:</font><br><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_telenor.gif"><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_bbs.gif"><br></center>');
}

function BannerDE(){
	document.write('');
}

// INTERNATIONAL

function InshortINT(){
	/*
	document.write('<div align="left"><img src="http://static3.24sevenoffice.com/webpage/en/images/header_inshort.gif" width="465" height="30"><br>' +
				   '</div>'+
				   '<table width="100%" border="0" cellpadding="16">' +
				   '<tr>' +
				   '<td width="33%"  valign="top">' + 
				   '<div class="NewsHeader" align="left">Press coverage</div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "24SevenOffice Expands Through The Acquisition Of Web-Based Erp Vendor"<br>Finance UK</ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "Virtual Compliance"<br><a href="http://www.24SevenOffice.com/website/website/download.asp?fileId=292118&SiteId=82" class="orangelink" target="_blank">Accountancy Age</a></ul></li></div>' +
				   '<div class="PageText" align="left"><ul id="shorts"><li> "ASP model aimed at solving IFRS issues"<br><a href="http://www.24SevenOffice.com/website/website/download.asp?fileId=291920&SiteId=82" class="orangelink" target="_blank">Mind your own business</a></ul></li></div>' +
				   '</td>' +
				   '<td width="33%"  valign="top" class="ShortMenu"><div class="NewsHeader" align="left">News</div><div class="PageText" align="left"><ul id="shorts"><li> 10.01.06: 24SevenOffice has entered into a joint product and marketing cooperation with Active 24 which has 350 000 customers in Europe</div><div class="PageText" align="left"><ul id="shorts"><li> 12.12.05: 24SevenOffice has signed a partner agreement with Telenor, the leading Norwegian telecom company</div><div class="PageText" align="left"><ul id="shorts"><li> 05.10.05: 24SevenOffice is listed on the OTC stock exchange</div><div class="PageText" align="left"><ul id="shorts"><li> 12.02.05: 24SevenOffice bought the leading Swedish competitor</div><div class="PageText" align="left"><ul id="shorts"><li> 24.01.05: 24SevenOffice nominated as product of the year by Capital business magazine</div></td>' +
				   '<td width="33%" valign="top" class="ShortMenu">' +
				   '	<div class="NewsHeader" align="left">Latest downloads</div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenBrowser.asp" class="orangelink">24SevenBrowser</a></div>' +
				   //'	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download/ocr-b.ttf" class="orangelink">OCR-B Font</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/webpage/download24SevenSync.asp" class="orangelink">24SevenSync</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=153699&SiteId=82" class="orangelink" target="_blank">Complete Overview and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204997&SiteId=82" class="orangelink" target="_blank">eOffice - 24-7 Press Release.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li> <a href="/website/website/download.asp?fileId=204993&SiteId=82" class="orangelink" target="_blank">Fact Sheet_English.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Efficiency and Cost Reductions.pdf</a></div>' +
				   '	<div class="PageText" align="left"><ul id="shorts"><li><a href="/website/website/download.asp?fileId=153700&SiteId=82" class="orangelink" target="_blank">Increased Flexibility and Home Office.pdf</a></td>' +
				   '</tr>' +
				   '</table>');
	*/
}                    





function RightMenuINT(mode){

	if(mode == 1)
	{
		addMenuElement(1, "Home", null, null);
		addMenuElement(3, "Overview", "index.htm", "_self");
		addMenuElement(3, "Products", "Products.htm", "_self");
		addMenuElement(3, "News", "news.htm", "_self");
		addMenuElement(3, "Screenshots", "screenshots.htm", "_self");
		addMenuElement(1, "Our Concept", null, null);
		addMenuElement(3, "Overview", "concept.htm", "_self");
		
	}

	if(mode == 2)
	{
		addMenuElement(1, "Products", null, null);
		addMenuElement(3, "Overview", "products.htm", "_self");
		
	}
	
	if(mode == 3)
	{
		addMenuElement(1, "Our concept", null, null);
		addMenuElement(3, "Overview", "concept.htm", "_self");
		addMenuElement(3, "Why web based", "why_web_based.htm", "_self");	
		addMenuElement(3, "Traditional vs. Web", "trad_vs_web.htm", "_self");	
	}

	if(mode == 4)
	{
		addMenuElement(1, "Contact", null, null);	
		addMenuElement(3, "Overview", "contact.htm", "_self");
	}

	if(mode == 5)
	{
		addMenuElement(1, "Press", null, null);	
		addMenuElement(3, "Press Coverage", "press.htm", "_self");	
	}

	if(mode == 6)
	{
		addMenuElement(1, "Partners", null, null);
		addMenuElement(3, "Partner program", "partners.htm", "_self");	
	}


	if(mode == 8){
		addMenuElement(1, "Investor Relations", "investorRelation.htm", "_self");	
		addMenuElement(3, "General", "general.htm", "_self");
		//addMenuElement(3, "Annual Reports", "report.htm", "_self");
		addMenuElement(3, "Share price","http://www.osloaxess.no/markedsaktivitet/stockOverview?newt__ticker=TFSO","_blank") 
		addMenuElement(3, "Shareholder Overview", "stockoverview.htm", "_self");
		addMenuElement(3, "Shareholder Service", "service.htm", "_self");
		addMenuElement(3, "Annual General Meeting", "meeting.htm", "_self");
		addMenuElement(3, "Company presentation", "companypresentation.htm", "_self");
		addMenuElement(3, "IC-Rapport", "ic.htm", "_self");
		addMenuElement(3, "Board and Management", "board.htm", "_self");
	}

	if(mode == 9){
		addMenuElement(1, "Solberg Zone", "solberg_zone.htm", "_self");
		addMenuElement(3, "Overview", "solberg_zone.htm", "_self");	
		addMenuElement(3, "Test drive 24SevenOffice", "testdrive.htm", "_self");
		addMenuElement(3, "Picture gallery", "solberg.htm", "_self");
	}

	

	addMenuElement(1, "Development", null, null);
	addMenuElement(3, "Blog", "http://blog.24SevenOffice.com", "_self");


	document.write('<br><center><b><p class="Header">Free trial!</p></b><p class="PageText">Enter your email address to get your free trial.</p></center>');
	if ( window.SimpleRegistration ) {
		document.write('<div id="simplereg-container-right" style="margin-bottom: 20px;text-align:center"></div>');
		new SimpleRegistration( 'simplereg-container-right', 'RIGHT 1', { className: 'small'});
	}
	
	document.write('<br><center><a href="#" onclick="window.open(\'../en/flash/flashdemo_uk.html\',\'Popup\',\'width=1016,height=675,status=1,menubar=0\')\;"><img src="http://static3.24sevenoffice.com/webpage/en/images/presentation_en.jpg" border="0"></a><p class="PageText"><font color="#757575">Main partners:</font><br><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_telenor.gif"><br><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_fokusbank.gif"><br><img src="http://static3.24sevenoffice.com/webpage/int/images/co_logo/crystone.gif"><br><img src="http://static3.24sevenoffice.com/webpage/se/images/partner_bbs.gif"></center>');

}




function BannerINT(){
	document.write('');
}


function topMenuINT(){
	
	webfxMenuImagePath	= "http://static3.24SevenOffice.com/webpage/xmenu/images/";;

	var mySubMenu = new WebFXMenu;
	var myProductMenu = new WebFXMenu;
	
	mySubMenu.add(new WebFXMenuItem("Germany", "/webpage/de/", ""));
	mySubMenu.add(new WebFXMenuItem("Norway", "/webpage/no/", ""));
	mySubMenu.add(new WebFXMenuItem("Sweden", "/webpage/se/", ""));
	mySubMenu.add(new WebFXMenuItem("UK", "/webpage/en/", ""));
	
	myProductMenu.add(new WebFXMenuItem("CRM<br>", "products_crm.html", "24SevenOffice CRM"));
	myProductMenu.add(new WebFXMenuItem("Collaboration<br>", "products_collaboration.html", "24SevenOffice Collaboration"));
	myProductMenu.add(new WebFXMenuItem("------------", "", ""));
	myProductMenu.add(new WebFXMenuItem("Mobility", "products_mobility.html", "Mobility"));
	myProductMenu.add(new WebFXMenuItem("SaaS", "products_saas.html", "Software as a Service"));
	myProductMenu.add(new WebFXMenuItem("Environment", "environment.htm", "Environment"));
	myProductMenu.add(new WebFXMenuItem("Security", "products_security.html", "Security"));
	 
	var myBar = new WebFXMenuBar;
	myBar.add(new WebFXMenuButton("Home", "index.htm", "Go to home page"));
	myBar.add(new WebFXMenuButton("Solutions", "", "Solutions", myProductMenu , false));
	myBar.add(new WebFXMenuButton("Partners", "partners.html", "Our partners"));
	myBar.add(new WebFXMenuButton("Education", "education.html", "Education"));
	myBar.add(new WebFXMenuButton("Support", "support.html", "Support"));
	myBar.add(new WebFXMenuButton("Contact", "contact.html", "Contact 24SevenOffice"));
	//myBar.add(new WebFXMenuButton("Press room", "press.html", "Press Room"));
	//myBar.add(new WebFXMenuButton("About 24SevenOffice", "about.htm", "About 24SevenOffice"));
	myBar.add(new WebFXMenuButton("Project login", "javascript:void window.open('/website/templates/100/ProjectLogin/default.asp?dolog=true&siteId=82&LanguageId=47');", "Project users log in here"));
	myBar.add(new WebFXMenuButton("Investor Relations", "IR.html", "Investor Relations"));
	//myBar.add(new WebFXMenuButton("24SevenSync", "24sevensync.htm", "Learn more about 24SevenSync"));
	//myBar.add(new WebFXMenuButton("Investor Relations", "investorRelation.htm", "Read more about Investor Relations"));
	
	myBar.add( new WebFXMenuButton("Country", "", "Change country", mySubMenu, true) );

	document.write(myBar)
	
}


// GLOBAL FUNCTIONS

function handleMouseOver(obj){
	obj.style.backgroundImage = 'url("/webpage/en/images/menu_right_bg_marked.gif")';
}

function handleMouseOut(obj){
	obj.style.backgroundImage = 'url("/webpage/en/images/menu_right_bg_normal.gif")';
}

function addMenuElement(oMenuHead, otext, olink, otarget){
	if( oMenuHead == 1 ){
		document.write('<div class=divMenuRubrik><table cellpadding=0 cellspacing=0 valign=middle style="height:100%;width:100%" ><tr><td class="menuHeader ">' + otext + '</td></tr></table></div>');
	}else if( oMenuHead == 2 ){
		document.write('<div class=divMenuCurrent ><table cellpadding=0 cellspacing=0 valign=middle style="height:100%;width:100%" ><tr><td><a href="'+ olink +'" class="menuCurrent" target="'+ otarget +'">'+ otext +'</a></td></tr></table></div>');		
	}else if( oMenuHead == 3 ){
		document.write('<div class=divMenu onmouseout="handleMouseOut(this)" onmouseover="handleMouseOver(this);"><table cellpadding=0 cellspacing=0 valign=middle style="height:100%;width:100%"><tr><td><a href="'+ olink +'" class="menuLink" target="'+ otarget +'">'+ otext +'</a></td></tr></table></div>')	
	}
}

function popImage(imageURL,imageTitle){
	var opt ='scrollbars=no,width=700,height=700,left=100,top=100';
	var imgWin = window.open('about:blank','',opt);
	with (imgWin.document){
		writeln('<html><head><title>Loading...</title><style type="text/css">body{margin:0 auto;padding:0;font-color: #FFFFFF;text-align:center;}</style>');
		writeln('<script type="text/javascript">');
		writeln('function reSizeToImage(){');
		writeln('	var width= document.images[0].width + 50;');
		writeln('	var height= document.images[0].height + 50;');
		writeln('	window.resizeTo(width,height);');
		writeln('}');
		writeln('function doTitle(){document.title="'+imageTitle+'";}');
		writeln('function closeWindow(){window.close();}');
		writeln('</script>');
		writeln('</head><body onload="reSizeToImage();doTitle();self.focus();">');
		writeln('<img name="photo" src='+imageURL+' style="cursor:hand;" onclick="closeWindow()";></body></html>');
		close();
	}
}

function doLoad() {
	_uacct = "UA-602633-1";
	//_uOsr[33]="pchome";	_uOkw[33]="q";
	_uOsr.push("kvasir"); _uOkw.push("searchExpr");
	_uOsr.push("sesam"); _uOkw.push("q");

	urchinTracker();
	
	
	var el = document.getElementById('table-login');
	var el = document.getElementsByTagName('body')[0];
	if ( el ) {
		
		var oldClass = el.className;
		el.className += ' repaint';
		el.className = oldClass;
		//window.status = '24SevenOffice ' + new Date();
	}
}


Event.observe(window, "load", doLoad , false);