// ------ Sett senter --------
	moveTo((screen.width - 400) / 2,(screen.height - 280) / 2);
var hent;
//	var hent = location.hash;
//	alert(hent);
var txt_tema;
var txt_tema0 = self.location.hash.split('#');
var temp;
function slett_tegn(string) {
	temp = "";
	string = '' + string;
	splitstring = string.split(",");
	for(i = 0; i < splitstring.length; i++)
	temp += splitstring[i];
	txt_tema = temp;
	hent = temp;
}
	slett_tegn(txt_tema0);
<!-- Original:  David Sosnowski (support@codebelly.com) ------------------->
<!-- Web Site:  http://www.codebelly.com -->
	var message = new Array();
// Set your messages below -- follow the pattern.
// To add more messages, just add more elements to the array.
message[0] = "Om disse sidene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[1] = "About this site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[2] = hent+" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[3] = "ToNico MediaDesign - www.tonico.no . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[4] = "Om disse sidene . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[5] = "About this site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
message[6] = hent+" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";

// Set the number of repetitions (how many times the arrow cycle repeats with each message).
var reps = 2;
var speed = 200;  // Set the overall speed (larger number = slower action).

// DO NOT EDIT BELOW THIS LINE.
var p = message.length;
var T = "";
var C = 0;
var mC = 0;
var s = 0;
var sT = null;
if (reps < 1) reps = 1;
function doTheThing() {
T = message[mC];
A();
}
function A() {
s++;
if (s > 8) { s = 1;}
// you can fiddle with the patterns here...
if (s == 1) { document.title = ' '+T+' -----'; }
if (s == 2) { document.title = ' '+T+' -----'; }
if (s == 3) { document.title = ' '+T+' -----'; }
if (s == 4) { document.title = ' '+T+' -----'; }
if (s == 5) { document.title = ' '+T+' -----'; }
if (s == 6) { document.title = ' '+T+' -----'; }
if (s == 7) { document.title = ' '+T+' -----'; }
if (s == 8) { document.title = ' '+T+' -----'; }
if (C < (8 * reps)) {
sT = setTimeout("A()", speed);
C++;
}
else {
C = 0;
s = 0;
mC++;
if(mC > p - 1) mC = 0;
sT = null;
doTheThing();
   }
}
// ---- Test nettleser --------------
var useragent = navigator.userAgent;
var bName = (useragent.indexOf('Opera') > -1) ? 'Opera' : navigator.appName;
var pos = useragent.indexOf('MSIE');
if (pos > -1) {
bVer = useragent.substring(pos + 5);
var pos = bVer.indexOf(';');
var bVer = bVer.substring(0,pos);
}
var pos = useragent.indexOf('Opera');
if (pos > -1)	{
bVer = useragent.substring(pos + 6);
var pos = bVer.indexOf(' ');
var bVer = bVer.substring(0, pos);
}
if (bName == "Netscape") {
var bVer = useragent.substring(8);
var pos = bVer.indexOf(' ');
var bVer = bVer.substring(0, pos);
}
if (bName == "Netscape" && parseInt(navigator.appVersion) >= 5) {
var pos = useragent.lastIndexOf('/');
var bVer = useragent.substring(pos + 1);
}
document.write('<div style="position: absolute; top: 69; left: 75; width: 292; height: 20; z-index: 99">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write(' <tr>');
document.write('  <td width="100%">');
	document.write("<font color='#CC0000'>"+hent+"</font>");
document.write('  </td>');
document.write(' </tr>');
document.write('</table>');
document.write('</div>');
document.write('<span style="position: absolute; top: 0; left: 0; WIDTH="400" HEIGHT="280" z-index: 1">');
// if (bName == 'Microsoft Internet Explorer') {
// document.write('<IFRAME bgcolor="#003399" name=tetopp src="om-1.swf" frameBorder=no scrolling=no WIDTH="400" HEIGHT="280">Din nettleser støtter ikke denne teknikken.</IFRAME>');
// } else {
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="400" HEIGHT="280" id="om" ALIGN="">');
document.write('<PARAM NAME=movie VALUE="om-1.swf">');
document.write('<PARAM NAME=loop VALUE=false>');
document.write('<PARAM NAME=menu VALUE=false>');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=wmode VALUE=opaque>');
document.write('<PARAM NAME=bgcolor VALUE=#003399>');
document.write('<EMBED src="om-1.swf" loop=false menu=false quality=high wmode=opaque bgcolor=#003399  WIDTH="400" HEIGHT="280" NAME="om" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
// }
document.write('</span>');

doTheThing();
function StengVindu() {
	self.close();
}
function henttonico() {
	var NavnVindu = "ToNico_MediaDesign";
	window.open("http://www.tonico.no/", NavnVindu);
	self.close();
}
