
// Created by A4FlashCoder. Website: http://www.a4flash.com/

function displaySWF_3() { document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH="989" HEIGHT="127" ID="OBJECT1" ALIGN="middle" VIEWASTEXT>								<PARAM NAME="allowScriptAccess" VALUE="sameDomain" />								<PARAM NAME="movie" VALUE="Customer/Images/FlashNatt.swf" />								<PARAM NAME="menu" VALUE="false" />								<PARAM NAME="quality" VALUE="high" />								<PARAM NAME="bgcolor" VALUE="#FFFFFF" />								<EMBED SRC="Customer/Images/FlashNatt.swf" MENU="false" QUALITY="high" BGCOLOR="#FFFFFF" WIDTH="989" HEIGHT="127" NAME="Bannari" ALIGN="middle" ALLOWSCRIPTACCESS="sameDomain" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />							</OBJECT>'); }

function displaySWF_2() { document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH="989" HEIGHT="127" ID="OBJECT1" ALIGN="middle" VIEWASTEXT>								<PARAM NAME="allowScriptAccess" VALUE="sameDomain" />								<PARAM NAME="movie" VALUE="Customer/Images/FlashDag.swf" />								<PARAM NAME="menu" VALUE="false" />								<PARAM NAME="quality" VALUE="high" />								<PARAM NAME="bgcolor" VALUE="#FFFFFF" />								<EMBED SRC="Customer/Images/FlashDag.swf" MENU="false" QUALITY="high" BGCOLOR="#FFFFFF" WIDTH="989" HEIGHT="127" NAME="Bannari" ALIGN="middle" ALLOWSCRIPTACCESS="sameDomain" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />							</OBJECT>'); }

// Created by A4FlashCoder. Website: http://www.a4flash.com/


var r;

/* Function used by ReadSpeaker*/
function sayit()
{
	if (navigator.appName=="Microsoft Internet Explorer") 
	{ 
		if (window.getSelection) // recent Mozilla versions 
		{ 
			var selectedString = window.getSelection(); 
		} 
		else if (document.all) // MSIE 4+ 
		{ 
			rng = document.selection.createRange(); 
			selectedString = rng.text; 
// start test
		var currentcolor=document.body.style.backgroundColor;
		if (r) {
		r.execCommand('BackColor','','currentcolor');
		}
	r = document.selection.createRange();
	r.execCommand('BackColor','','yellow');

// stop test
		} 
	} 
	else 
	{ 
		var selectedString = document.getSelection(); // FUNKAR FÖR ALLA UTOM EXPLORER
	}

	if (window.location.href)
	{ 
		document.rs_form.url.value = window.location.href; 
	} 
	else if (document.location.href) 
	{ 
		document.rs_form.url.value = document.location.href; 
	}
	document.rs_form.rstext.value = selectedString;
} 

function copyselected() 
{

	setTimeout("sayit()",50);
	return true; 
}

//Submits form declared in DefaultFramework to activate ReadSpeaker
function readPage()
{
	

	if(document.rs_form)
	{
		if(document.rs_form.url.value == "")
		{
			if (window.location.href)
			{ 
				document.rs_form.url.value = window.location.href; 
			} 
			else if (document.location.href) 
			{ 
				document.rs_form.url.value = document.location.href; 
			}
		}
		document.rs_form.submit();
	}
}
