var PlayButtonAltText="L&auml;ser markerat text [Alt+L]";var HelpButtonAltText="Hj&auml;lp [Alt+J]";var StopButtonAltText="Stanna uppl&auml;sningen [Alt+S]";var ConfigButtonAltText="Inst&auml;llningar[Alt+I]";var notextError="Du har inte markerat text";var noPopUpError="Det &auml;r tyv&aring;rr upst&aring;tt et fel";var SpeedHeader="Talhastighet";var SpeedLevel1="H&ouml;g";var SpeedLevel2="Normal";var SpeedLevel3="L&aring;g";var SCModeHeader = "Internetf&ouml;rbindelse";var TitleSCMode1 = 'God';var TitleSCMode2 = 'Medel';var TitleSCMode3 = 'D&aring;lig';var CloseDialog="St&auml;ng";var dialogheader="Du har klickat p&aring; en l&auml;nk till ett dokument";var dialogtext="Du kan f&aring; dokumentet visat som HTML. D&aring; kan du f&aring; det uppl&auml;st. L&auml;sWeb &auml;ndrar dokumentet, det tar n&aring;gra sekunder.<br><br>&Ouml;nskar du dokumentet som:";var ashtmlbtn="HTML";var asorgbtn="Originaldokument";var htmlviewerheader="l&auml;sWEB 2.0 HTML viser";var vFact_topoffset=0;var vFact_leftoffset=0;var vFact_left_org=0;var vFactServer="http://speech.leseweb.dk/";var vFactRawFiles=vFactServer+"rawfiles/";var vFactGetWmm=vFactServer+"player/mediaplayer.vf";var vFactGetFlash=vFactServer+"player/mediaplayer.flash";var vFactConverter=vFactServer+"converter/convert.vf";var sp1="1";var sp2="2";var sp3="3";var SCMODE1= 0;var SCMODE2= 1;var SCMODE3= 2;var LANGUAGES="se,en";var LICCODE="vu5p976u73985e827yod";var posrelativeto="lesewebContainer";var olddata;var yesnoheight="339";var yesnowidth="354";var showingdialog=false;var indexcount=0;var opacity=10;var htmlviewerheight="550";var htmlviewerwidth="750";var ConfigWindowHeight = 65;var ConfigWindowWidth = 140;var const_pafplayerscmode = 'pafplayerscmode';var const_pafplayerspeed = 'pafplayerspeed';var OptionSearchInFrames = 1;var OptionUsePopupWindow = 1;var pafplaystatus;var themp3file;var PAFhelpurl="http://help.leseweb.dk/?id=se";var PAFpitch;var PAFspeed;var PAFlicense;var PAFPlayer=null;var textToRead="";var iframe, iframeDocument;var iframeID = "MyHiddenIFrame";var extendedplayer=false;var usedesign=0;var iswindows=true;var PlayerSpeed;var eventFunction='';var PopupWindowInstance;var lesewebactive=true;var olddok;var actdefault=vFactRawFiles+'sound_on.gif';var dactdefault=vFactRawFiles+'sound_off.gif';var textencoding="";var vFact_active=true;var vFact_usedefaultacticon=false;var vFact_usedefaultdacticon=false;var vFact_acticon="";var vFact_dacticon="";var vFact_empty="";var vFact_emptyplay="contentstart,content";var vFact_minilic="";var vFact_UseLang=false;var vFact_AlwaysShowConverter=false;var vFact_ClearAllForms=false;var vFact_fixedpos=false;var vFact_FirefoxPos="fixed";var vFact_cookie=true;if (vFact_fixedpos){ vFact_FirefoxPos="absolute";}function vFact_Create_Selection(elem){ var v_area = null; if (document.all != null && vFact_isie()) { v_area = document.body.createTextRange(); v_area.moveToElementText(elem); try{ v_area.select(); } catch(e){} var v_text = vFact_getSel(); document.selection.empty(); if (v_text==""){ v_text=elem.innerText; } return v_text; } else { v_area = document.createRange(); v_area.selectNodeContents(elem); return vFact_encode_to_utf8(v_area.toString()); }}function vFact_GetLanguageTag() { metaCollection = document.getElementsByTagName('meta'); for (i=0;i<metaCollection.length;i++) { nameAttribute = metaCollection[i].httpEquiv.search(/language/); if (nameAttribute!= -1) { return metaCollection[i].content; } } } function vFact_findPos(obj) {var curleft = curtop = 0;if (obj.offsetParent) {curleft = obj.offsetLeft;curtop = obj.offsetTop;while (obj = obj.offsetParent) {curleft += obj.offsetLeft;curtop += obj.offsetTop;}}return [curleft,curtop];}function vFact_closedialogs(){ vFact_removeiframe(); document.location.href=document.location.href;}function vFact_getSel(){ try{ vFactclearForms();var s = vFact_getSel2();return vFact_encode_to_utf8(s); } catch(e){return ""}}function vFactclearForms(){ if (vFact_ClearAllForms){ var i; for (i = 0; (i < document.forms.length); i++) { document.forms[i].reset(); } }}function vFact_getSel2() { var txt = '';if (window.getSelection) {txt = window.getSelection();if (txt != '') return txt;} if (document.getSelection) {txt = document.getSelection();if (txt != '') return txt;} if (document.selection){txt = document.selection.createRange().text;if (txt != '') return txt;} if (OptionSearchInFrames) { var topmost_parent = window.parent; while (window.parent) { if (topmost_parent.parent == topmost_parent || topmost_parent.parent == null) break; topmost_parent = topmost_parent.parent; } if (topmost_parent.window.frames) { return vFact_get_selected_text_from_frames(topmost_parent.window.frames); } }return txt;}function vFact_GetTheSelectedText(aWindow){ try { var selection = vFact_getSel(aWindow); if (selection != "") return selection; var forms = aWindow.frames; if (forms) { for (var i=0; ((i < forms.length)); i++) { selection = vFact_GetTheSelectedText(forms[i]); if (selection != "") return selection; } } } catch (e) { alert("Selectfejl") } finally {} return ""; }function vFact_getText(){ textToRead = vFact_getSel(window.top);}function vFact_getthetop(){if (window.pageYOffset) return window.pageYOffset;else if (document.documentElement && document.documentElement.scrollTop) return document.documentElement.scrollTop;else if (document.body) return document.body.scrollTop;}function WritevFactSettingsCookie(Speed, ScMode){ if (vFact_cookie){ var sdate = "expires=Fri, 27 Jul 2050 02:47:11 UTC;"; if (Speed==sp1) {document.cookie="speed=sp1;"+sdate+"path=/"}; if (Speed==sp2) {document.cookie="speed=sp2;"+sdate+"path=/"}; if (Speed==sp3) {document.cookie="speed=sp3;"+sdate+"path=/"}; if (ScMode==SCMODE1){document.cookie="scmode=SCMODE1;"+sdate+"path=/"}; if (ScMode==SCMODE2){document.cookie="scmode=SCMODE2;"+sdate+"path=/"}; if (ScMode==SCMODE3){document.cookie="scmode=SCMODE3;"+sdate+"path=/"}; }}function vFact_checktoolbar(){ if (vFact_isie() && lesewebactive){ if (!vFact_fixedpos){ var theTop = vFact_getthetop(); theTop = theTop +vFact_topoffset; document.getElementById('PAFTOOLBAR').style.top=theTop+'px'; } } if (posrelativeto!=""){ try{ thisone = document.getElementById(posrelativeto); var therelplace=vFact_findPos(thisone); var theleft=vFact_left_org+therelplace[0]; document.getElementById('PAFTOOLBAR').style.left=theleft+'px'; } catch(e){} setTimeout("vFact_checktoolbar()",5); }}function vFact_checkviewtoolbar(){ if (vFact_isie()){ var theTop = vFact_getthetop(); theTop = theTop+vFact_topoffset; document.getElementById('PAFTOOLBARA').style.top=theTop+'px'; setTimeout("vFact_checkviewtoolbar()",10); }}function writeActcookie(value){ if (vFact_cookie) { var sdate = "expires=Fri, 27 Jul 2050 02:47:11 UTC;"; try{ document.cookie="leseactive="+value+";"+sdate+"path=/"; } catch(e){ } }}function readActCookie(){ var list_cookies = document.cookie.split("; "); var vFact_active=false; for (var i=0; i < list_cookies.length; i++) {var cook = list_cookies[i];if (cook=="leseactive=true"){vFact_active=true} } return vFact_active;}function vFact_removeleseweb(){ writeActcookie('false'); var test=document.location.href; document.location.href=test;}function vFact_addHTMLToPage (html) { if (document.all) document.body.insertAdjacentHTML('beforeEnd', html); else if (document.createRange) { var range = document.createRange(); range.setStartAfter(document.body.lastChild); var cFrag = range.createContextualFragment(html); document.body.appendChild(cFrag); } else if (document.layers) { var X = new Layer(window.innerWidth); X.document.open(); X.document.write(html); X.document.close(); X.top = document.height; document.height += X.document.height; X.visibility = 'show'; }}function vFact_insertleseweb(){ if (vFact_isie()){ var code=ietoolbarcode1(); } else if (vFact_isopera()) { var code=operatoolbarcode1(); } else { var code = notietoolbarcode1(); } vFact_addHTMLToPage(code); vFact_checktoolbar(); writeActcookie('true');}function vFact_leseAct(){ if (vFact_active){ vFact_active=false; vFact_removeleseweb(); if (vFact_empty!=""){ vFact_activatetoolbar(document.getElementById(vFact_empty)); } } else{ vFact_active=true; vFact_insertleseweb(); if (vFact_empty!=""){ vFact_activatetoolbar(document.getElementById(vFact_empty)); } } }function vFact_leseWebAct(){ if (vFact_active){ vFact_active=false; vFact_removeleseweb(); } else{ vFact_active=true; vFact_insertleseweb(); } }function vFact_activatetoolbar(place){ if (place!=null){ if (vFact_active){ if (vFact_usedefaultdacticon){ place.innerHTML='<span onclick="vFact_leseAct()" style="cursor:pointer;WIDTH:30px;HEIGHT:30px" title=""><img src="'+dactdefault+'" alt="" border=0></span>'; } else{ place.innerHTML='<span onclick="vFact_leseAct()" style="cursor:pointer" title=""><img src="'+vFact_dacticon+'" alt="" border=0></span>'; } } else { if (vFact_usedefaultacticon){ place.innerHTML='<span onclick="vFact_leseAct()" style="cursor:pointer;WIDTH:30px;HEIGHT:30px" title=""><img alt="" src="'+actdefault+'" border=0></span>'; } else{ place.innerHTML='<span onclick="vFact_leseAct()" style="cursor:pointer" title=""><img src="'+vFact_acticon+'" alt="" border=0></span>'; } } }}function vFact_addIframe(textdata){ var fw="0"; var fh="0"; var fb="0"; vFact_removeiframe(); if (document.createElement) { try { var tempIFrame = document.createElement('iframe'); tempIFrame.setAttribute('id',iframeID); tempIFrame.style.border = fb+'px'; tempIFrame.style.width = fw+'px'; tempIFrame.style.height = fh+'px'; if (document.body.appendChild) { iframe = document.body.appendChild(tempIFrame); } if (document.documentElement.appendChild) { iframe = document.documentElement.appendChild(tempIFrame); } if (document.frames) { iframe = document.frames[iframeID]; } } catch (ex) { var iframeHTML = '\<iframe id="' + iframeID + '"'; iframeHTML += ' style="border:'+fb+'px; width:'+fw+'px; height:'+fh+'px;'; iframeHTML += '"><\/iframe>'; document.body.innerHTML += iframeHTML; iframe = new Object(); iframe.document = new Object(); iframe.document.location = new Object(); iframe.document.location.iframe = document.getElementById(iframeID); iframe.document.location.replace = function(location) { this.iframe.src = location; } } try { if (vFact_isopera()) { vFact_pause(200); frames[iframeID].document.writeln(textdata); frames[iframeID].document.getElementById('startplay').submit(); } else { if (iframe.contentDocument) { iframeDocument = iframe.contentDocument; } else if (iframe.contentWindow) { iframeDocument = iframe.contentWindow.document; } else if (iframe.document) { iframeDocument = iframe.document; } iframeDocument.writeln(textdata); iframeDocument.getElementById('startplay').submit(); } } catch(e) { alert("fejl"); } }} function vFact_getAltText(){ if (vFact_emptyplay!=""){ var vFact_emptyplayids=vFact_emptyplay.split(","); var vFact_IdLength=vFact_emptyplayids.length; var thetext=""; for (i=0;i<=vFact_IdLength-1;i++) { try { if (document.getElementById(vFact_emptyplayids[i])) { thetext=thetext+vFact_Create_Selection(document.getElementById(vFact_emptyplayids[i])); } } catch(e){} } return thetext; } else if (document.getElementById('vfactAltText')){ var thetext=document.getElementById('vfactAltText').innerHTML; return thetext; } else return "";}function vFact_PlayThis(id){ var thetext=vFact_Create_Selection(document.getElementById(id)); return thetext;}function vFact_playsection(id){ try{ pafplaystatus="0"; extendedplayer=false; var thetext=vFact_PlayThis(id); if (thetext=="") { alert(notextError); } else { try { vFact_showplayerpopup(thetext); } catch(e){alert(noPopUpError)}; } } catch(e){} extendedplayer=true;}function vFact_doplay(){ try{ pafplaystatus="0"; var thetext=vFact_getSel(); if (thetext==""){ thetext=vFact_getAltText(); } if (thetext=="") { alert(notextError); } else { try { vFact_showplayerpopup(thetext); } catch(e){alert(noPopUpError)}; } } catch(e){}}function vFact_openWin (fileName, windowName) { return window.open(fileName,windowName,'width=320,height=100,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no'); }function vFact_showplayerpopup(textdata){ var tempdata=textdata; var pcode=vFact_formcode(escape(tempdata)); vFact_addIframe(pcode);}function vFact_dohelp(){ window.open(PAFhelpurl,'helpwin');}function vFactGetPlayer(){ if (vFact_checkOS()!="Win"){ return vFactGetFlash;} else {return vFactGetWmm;} }function vFact_formcode(atext){ var thespeed=PAFspeed; var thescmode=SCMODE1; if (extendedplayer) { thespeed = document.getElementById(const_pafplayerspeed).value;thescmode = document.getElementById(const_pafplayerscmode).value; WritevFactSettingsCookie(thespeed, thescmode); } else{ thespeed = sp2; } var code ="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">"; code=code+"<html><head><META HTTP-EQUIV=\"Content-Type\" content=\"text/html; charset=UTF-8\"></head><body>"; code=code+"<form id=startplay name=test action=\""+vFactGetPlayer()+"\" method=post>"; code=code+"<input type=hidden name=text ID=\"text\" value=\""+atext+"\">"; code=code+"<input type=hidden name=speechmode ID=\"speechmode\" value=\""+thespeed+"\">"; code=code+"<input type=hidden name=lic VALUE=\""+LICCODE+"\" ID=\"lic\">"; code=code+"<input type=hidden name=conmode ID=\"conmode\" value=\""+thescmode+"\">"; code=code+"<input type=hidden name=voices ID=\"voices\" value=\"dk\">"; code=code+"<input type=hidden value=\""+document.location.href+"\" name=domain>"; if (vFact_checkOS()!="Win"){ code=code+"<input type=hidden value=\"xml\" name=listtype>"; } else { code=code+"<input type=hidden value=\"asx\" name=listtype>"; } if (vFact_UseLang){ code=code+"<input type=hidden value=\""+vFact_GetLanguageTag()+"\" name=uselangtag>"; } code=code+"</form></body></html>"; return code; }function vFact_iframecodes(){ var code="<iframe name=\"pafiframe\" id=\"pafiframe\" style=\"WIDTH:100px;HEIGHT:100px;BORDER:5px\"></iframe>"; return code;}function close_configuration_window(){document.getElementById('configpage').style.visibility='hidden';if (OptionUsePopupWindow) {if (PopupWindowInstance) PopupWindowInstance.close();}}function vfact_position(){ if (!vFact_fixedpos) { var data="position:fixed"; } else { var data="position:absolute"; } return data; }function vFact_showconfigs(){ var bshow_window = document.getElementById('configpage').style.display == 'none'; document.getElementById('configpage').style.display = (bshow_window ? "block" : 'none'); } function vFact_encode_to_utf8(SrcStr) { if (textencoding!="UTF-8") { return unescape(encodeURIComponent(SrcStr)); } else {return SrcStr};}function vFact_isie(){ return ((navigator.userAgent.indexOf("MSIE") != -1) && (! vFact_isopera())); }function vFact_isopera(){ return (navigator.userAgent.indexOf("Opera") != -1);}function vFact_pause(numberMillis){ var now = new Date(); var exitTime = now.getTime() + numberMillis; while (true) { now = new Date(); if (now.getTime() > exitTime){ return;} }}function vFact_removeiframe(){ if (document.getElementById(iframeID)) { var aframe = document.getElementById(iframeID); aframe.parentNode.removeChild(aframe); } }function vFact_checkOS() { if(navigator.userAgent.indexOf('Win') != -1) { var OpSys = "Win"; } else { var OpSys = "Other"; } return OpSys;}function vFact_getAnchorPosition(anchorname) {var useWindow=false;var coordinates=new Object();var x=0,y=0;var use_gebi=false, use_css=false, use_layers=false;if (document.getElementById) { use_gebi=true; }else if (document.all) { use_css=true; }else if (document.layers) { use_layers=true; } if (use_gebi && document.all) {x=vFact_AnchorPosition_getPageOffsetLeft(document.all[anchorname]);y=vFact_AnchorPosition_getPageOffsetTop(document.all[anchorname]);} else if (use_gebi) {var o=document.getElementById(anchorname);x=vFact_AnchorPosition_getPageOffsetLeft(o);y=vFact_AnchorPosition_getPageOffsetTop(o);} else if (use_css) {x=vFact_AnchorPosition_getPageOffsetLeft(document.all[anchorname]);y=vFact_AnchorPosition_getPageOffsetTop(document.all[anchorname]);} else if (use_layers) {var found=0;for (var i=0; i<document.anchors.length; i++) {if (document.anchors[i].name==anchorname) { found=1; break; }}if (found==0) {coordinates.x=0; coordinates.y=0; return coordinates;}x=document.anchors[i].x;y=document.anchors[i].y;} else {coordinates.x=0; coordinates.y=0; return coordinates;}coordinates.x=x;coordinates.y=y;return coordinates;}function vFact_getAnchorWindowPosition(anchorname) {var coordinates=vFact_getAnchorPosition(anchorname);var x=0, y=0;if ( (!vFact_isopera()) && document.getElementById) { if (isNaN(window.screenX)) {x=coordinates.x-document.body.scrollLeft+window.screenLeft;y=coordinates.y-document.body.scrollTop+window.screenTop;} else { if (window.frameElement) { x=coordinates.x+window.screenX+window.frameElement.offsetLeft;y=coordinates.y+window.screenY+window.frameElement.offsetTop;} else {x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}}} else if (document.all) {x=coordinates.x-document.body.scrollLeft+window.screenLeft;y=coordinates.y-document.body.scrollTop+window.screenTop;} else if (document.layers) {x=coordinates.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;y=coordinates.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset;}coordinates.x=x;coordinates.y=y;return coordinates;}function vFact_AnchorPosition_getPageOffsetLeft (el) {var ol=el.offsetLeft;while ((el=el.offsetParent) != null) { ol += el.offsetLeft; }return ol;}function vFact_AnchorPosition_getWindowOffsetLeft (el) {return vFact_AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft;}function vFact_AnchorPosition_getPageOffsetTop (el) {var ot=el.offsetTop;while((el=el.offsetParent) != null) { ot += el.offsetTop; }return ot;}function vFact_AnchorPosition_getWindowOffsetTop (el) {return vFact_AnchorPosition_getPageOffsetTop(el)-document.body.scrollTop;}function vFact_get_selected_text_from_frames(ListFrames) {try { for (var i=0; i < ListFrames.length; i++) { frame = ListFrames[i]; if (frame.name == iframeID) continue; if (frame.window) { if (frame.window.getSelection) { txt = frame.window.getSelection(); if (txt != '') { return txt; } } } if (frame.document) { if (frame.document.getSelection) { txt = frame.document.getSelection(); if (txt != '') { return txt; } } if (frame.document.selection && (! frame.opera)) { if (frame.document.selection.createRange != null) { var range = frame.document.selection.createRange(); if (range != null) {txt = range.text; if (txt != '') { return txt;} } } } } if (frame.window ) { if (frame.window.frames) { if (frame.window.frames.length > 0) { txt = vFact_get_selected_text_from_frames(frame.window.frames);if (txt != '') { return txt; } } } } }} catch (e) {} return '';}function vFact_addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, false); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } }function vFact_configbox(){ var sel1="", sel3="";var scmode_sel2 ="", scmode_sel3 ="";var list_cookies = document.cookie.split("; ");for (var i=0; i < list_cookies.length; i++) {var cook = list_cookies[i]; if (cook=="speed=sp1"){sel1="selected"} else if (cook=="speed=sp3"){sel3="selected"} else if (cook=="scmode=SCMODE2"){scmode_sel2="selected"} else if (cook=="scmode=SCMODE3"){scmode_sel3="selected"}; }; var sel2 = (sel1 =="" && sel3 == "") ? "selected" : ""; var scmode_sel1 = (scmode_sel2=="" && scmode_sel3=="") ? "selected" : ""; var code="<div id=\"configpage\" style=\"display:none;WIDTH:140px;HEIGHT:77px;margin-top:6px;"; code=code+"background-image:url('"+vFactRawFiles+"settingsbar_1.gif')\">"; code=code+"<center>"; code=code+"<span style=\"font-family:verdana,ariel;font-size:9px;font-weight:bold;width:140px\" >"+SpeedHeader+"</span><br>"; code=code+"<select style=\"font-family:Verdana,Ariel;font-size:10px;margin-bottom:1px\" id=\""+const_pafplayerspeed+"\" >"; code=code+"<option "+sel1+" value=\""+sp1+"\">"+SpeedLevel1+"</option>"; code=code+"<option "+sel2+" value=\""+sp2+"\">"+SpeedLevel2+"</option>"; code=code+"<option "+sel3+" value=\""+sp3+"\">"+SpeedLevel3+"</option>"; code=code+"</select>"; code=code+"<br><span style=\"font-family:verdana,ariel;font-size:9px;font-weight:bold;width:140px\">"+SCModeHeader+"</span>"; code=code+"<br><select style=\"font-family:Verdana,Ariel;font-size:10px;margin-bottom:1px\" id=\""+const_pafplayerscmode+"\" >"; code=code+"<option "+scmode_sel1+" value=\""+SCMODE1+"\">"+TitleSCMode1+"</option>"; code=code+"<option "+scmode_sel2+" value=\""+SCMODE2+"\">"+TitleSCMode2+"</option>"; code=code+"<option "+scmode_sel3+" value=\""+SCMODE3+"\">"+TitleSCMode3+"</option>"; code=code+"</select>"; code=code+"</center></div>"; return code;}var noborder = 'border-left:0px;border-right:0px;border-top:0px;border-bottom:0px;padding-right:0px;padding-left:0px;padding-top:0px;padding-bottom:0px;';function ietoolbarcode1() { var code="<div id=\"PAFTOOLBAR\" style=\"width:133px;position:absolute;left:"+vFact_leftoffset+"px;top:"+vFact_topoffset+"px;z-index:49999;visibility:visible;width:140px;height:30px;background:url("+vFactRawFiles+"toolbar_1.gif);background-repeat:no-repeat;\">"; code=code+"<div style=\"width:132px;height:22px;margin-left:4px;margin-top:3px;"; code=code+"background:url("+vFactRawFiles+"toolbar_ikonramme_1.gif)\">"; code=code+"<input type=image src='"+vFactRawFiles+"play_1.gif' alt=\""+PlayButtonAltText+"\" style=\""+noborder+"margin-left:3px;margin-top:3px;\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"play_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"play_1.gif'\" ACCESSKEY=\"L\" "; code=code+"onclick=\"javascript:vFact_doplay()\" id=image1>"; code=code+"<input type=image src='"+vFactRawFiles+"stop_1.gif' alt=\""+StopButtonAltText+"\" style=\""+noborder+"margin-left:10px;margin-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"stop_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"stop_1.gif'\" ACCESSKEY=\"S\" "; code=code+"onclick=\"javascript:document.location.href=document.location.href;\" ID=Image2>"; code=code+"<input type=image src='"+vFactRawFiles+"question_1.gif' alt=\""+HelpButtonAltText+"\" style=\""+noborder+"margin-left:10px;margin-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"question_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"question_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_dohelp();\" ID=Image3>"; code=code+"<input type=image src='"+vFactRawFiles+"settings_closed_1.gif' alt=\""+ConfigButtonAltText+"\" style=\""+noborder+"margin-left:20px;margin-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"settings_closed_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"settings_closed_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_showconfigs();\" ID=Image4>"; code=code+"</div>"+vFact_configbox()+"</div>"; return code;}function notietoolbarcode1() { var code="<div id=\"PAFTOOLBAR\" style=\""+vfact_position()+";left:"+vFact_leftoffset+"px;top:"+vFact_topoffset+"px;z-index:49999;visibility:visible;width:140px;height:30px;background:url("+vFactRawFiles+"toolbar_1.gif);background-repeat:no-repeat\">"; code=code+"<div style=\"width:132px;height:22px;margin-left:4px;margin-top:3px;"; code=code+"background:url("+vFactRawFiles+"toolbar_ikonramme_1.gif)\">"; code=code+"<input type=image src='"+vFactRawFiles+"play_1.gif' alt=\""+PlayButtonAltText+"\" style=\""+noborder+"padding-left:3px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"play_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"play_1.gif'\" ACCESSKEY=\"L\" "; code=code+"onmousedown=\"javascript:vFact_doplay()\" id=Image5>"; code=code+"<input type=image src='"+vFactRawFiles+"stop_1.gif' alt=\""+StopButtonAltText+"\" style=\""+noborder+"padding-left:10px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"stop_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"stop_1.gif'\" ACCESSKEY=\"S\" "; code=code+"onclick=\"javascript:document.location.href=document.location.href;\" ID=Image6>"; code=code+"<input type=image src='"+vFactRawFiles+"question_1.gif' alt=\""+HelpButtonAltText+"\" style=\""+noborder+"padding-left:10px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"question_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"question_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_dohelp();\" ID=Image7>"; code=code+"<input type=image src='"+vFactRawFiles+"settings_closed_1.gif' alt=\""+ConfigButtonAltText+"\" style=\""+noborder+"padding-left:20px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"settings_closed_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"settings_closed_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_showconfigs();\" ID=Image8>"; code=code+"</div>"+vFact_configbox()+"</div>"; return code;}function operatoolbarcode1() { var code="<div id=\"PAFTOOLBAR\" style=\""+vfact_position()+";left:"+vFact_leftoffset+"px;top:"+vFact_topoffset+"px;z-index:49999;visibility:visible;width:140px;height:30px;background:url("+vFactRawFiles+"toolbar_1.gif);background-repeat:no-repeat\">"; code=code+"<div style=\"width:132px;height:22px;margin-left:4px;margin-top:3px;"; code=code+"background:url("+vFactRawFiles+"toolbar_ikonramme_1.gif)\">"; code=code+"<input type=\"button\" value=\"\" style=\""+noborder+"background:url("+vFactRawFiles+"play_1.gif);WIDTH:16px;HEIGHT:16px;MARGIN-BOTTOM:4px;margin-left:5px;border:0px;padding-top:3px\" title=\""+PlayButtonAltText+"\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"play_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"play_1.gif'\" ACCESSKEY=\"L\" "; code=code+"onmousedown=\"javascript:vFact_doplay()\" id=Image9>"; code=code+"<input type=image src='"+vFactRawFiles+"stop_1.gif' alt=\""+StopButtonAltText+"\" style=\""+noborder+"padding-left:10px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"stop_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"stop_1.gif'\" ACCESSKEY=\"S\" "; code=code+"onclick=\"javascript:document.location.href=document.location.href;\" ID=Image10>"; code=code+"<input type=image src='"+vFactRawFiles+"question_1.gif' alt=\""+HelpButtonAltText+"\" style=\""+noborder+"padding-left:10px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"question_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"question_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_dohelp();\" ID=Image10>"; code=code+"<input type=image src='"+vFactRawFiles+"settings_closed_1.gif' alt=\""+ConfigButtonAltText+"\" style=\""+noborder+"padding-left:20px;padding-top:3px\" "; code=code+"onmouseover=\"this.src='"+vFactRawFiles+"settings_closed_over_1.gif'\" onmouseout=\"this.src='"+vFactRawFiles+"settings_closed_1.gif'\" ACCESSKEY=\"J\" "; code=code+"onclick=\"javascript:vFact_showconfigs();\" ID=Image10>"; code=code+"</div>"+vFact_configbox()+"</div>"; return code;}function vFactCaller(){ if (posrelativeto!=""){ try{ thisone = document.getElementById(posrelativeto); var therelplace=vFact_findPos(thisone); vFact_leftoffset=vFact_leftoffset+therelplace[0]; vFact_topoffset=vFact_topoffset+therelplace[1]; }catch(e){} } extendedplayer=true; if (vFact_active){ if (vFact_isie()){ var code=ietoolbarcode1(); } else if (vFact_isopera()) { var code=operatoolbarcode1(); } else { var code = notietoolbarcode1(); } vFact_addHTMLToPage(code); vFact_checktoolbar(); } else{ if (readActCookie()){vFact_leseAct();} if (vFact_empty!=""){ vFact_activatetoolbar(document.getElementById(vFact_empty)); } }}function startleseweb(){ vFactCaller(); }vFact_addEvent(window,'load',startleseweb);
