function tooltip(billede,navn)
  {
  var tooltip = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=500, height=333');
      tooltip_window = tooltip;
      tooltip.document.open();
      tooltip.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      tooltip.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      tooltip.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      tooltip.document.writeln('</center></div></body></html>');
      tooltip.document.close();
  }

function tooltipL(billede,navn)
  {
  var tooltipL = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=50,left=175,width=333, height=500');
      tooltipL_window = tooltip;
      tooltipL.document.open();
      tooltipL.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      tooltipL.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      tooltipL.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      tooltipL.document.writeln('</center></div></body></html>');
      tooltipL.document.close();
  }


function nybyg(billede,navn)
  {
  var nybyg = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=450, height=300');
      nybyg_window = tooltip;
      nybyg.document.open();
      nybyg.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      nybyg.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      nybyg.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      nybyg.document.writeln('</center></div></body></html>');
      nybyg.document.close();
  }

function nybygP(billede,navn)
  {
  var nybygP = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=50,left=175,width=300, height=450');
      nybygP_window = tooltip;
      nybygP.document.open();
      nybygP.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      nybygP.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      nybygP.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      nybygP.document.writeln('</center></div></body></html>');
      nybygP.document.close();
  }




function nybyg5(billede,navn)
  {
  var nybyg5 = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=500, height=333');
      nybyg5_window = tooltip;
      nybyg5.document.open();
      nybyg5.document.writeln('<html><head><title>'+navn+'</title><meta http-equiv="imagetoolbar" content="false"><meta http-equiv="imagetoolbar" content="no"><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" oncontextmenu="return false" onblur=self.close();><div align="center"><center>');
      nybyg5.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      nybyg5.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      nybyg5.document.writeln('</center></div></body></html>');
      nybyg5.document.close();
  }

function nybygP5(billede,navn)
  {
  var nybygP5 = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=50,left=175,width=333, height=500');
      nybygP5_window = tooltip;
      nybygP5.document.open();
      nybygP5.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      nybygP5.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      nybygP5.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      nybygP5.document.writeln('</center></div></body></html>');
      nybygP5.document.close();
  }




function tooltipG(billede,navn)
  {
  var tooltipG = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=500, height=333');
      tooltipG_window = tooltip;
      tooltipG.document.open();
      tooltipG.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      tooltipG.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      tooltipG.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      tooltipG.document.writeln('</center></div></body></html>');
      tooltipG.document.close();
  }

function tooltipGP(billede,navn)
  {
  var tooltipGP = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=333, height=500');
      tooltipGP_window = tooltip;
      tooltipGP.document.open();
      tooltipGP.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      tooltipGP.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      tooltipGP.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      tooltipGP.document.writeln('</center></div></body></html>');
      tooltipGP.document.close();
  }


function EN7x4(billede,navn)
  {
  var EN7x4 = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=700, height=400');
      EN7x4_window = tooltip;
      EN7x4.document.open();
      EN7x4.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      EN7x4.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      EN7x4.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      EN7x4.document.writeln('</center></div></body></html>');
      EN7x4.document.close();
  }


function sfEN(billede,navn)
  {
  var sfEN = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=175,left=175,width=500, height=333');
      sfEN_window = tooltip;
      sfEN.document.open();
      sfEN.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      sfEN.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      sfEN.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      sfEN.document.writeln('</center></div></body></html>');
      sfEN.document.close();
  }
  
 function fof(billede,navn)
  {
  var fof = open('', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,top=10,left=10,width=600, height=800');
      fof_window = tooltip;
      fof.document.open();
      fof.document.writeln('<html><head><title>'+navn+'</title><link rel="stylesheet" href="style.css"></head><body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" onblur=self.close();><div align="center"><center>');
      fof.document.writeln('<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0"><tr><td width="100%" height="100%" align="center" valign="middle">');
      fof.document.writeln('<p align="center"><IMG border=0  src="'+billede+'"  ></td></tr></table>');
      fof.document.writeln('</center></div></body></html>');
      fof.document.close();
  } 
  
 function bulinker(where) 
 {
 top.location = where
 }
 
 function checkTekstfelt(tekstfelt)
{
  if (tekstfelt.value == "")
  {
    return false;
  }
  else
  {
    return true;
  }
}

function checkDrop(tekstfelt)
{ 
  if (tekstfelt.value == 0)
  {
   return false;
  }
  else
  { 
    return true;
  }
}


function isEmail(elm)
   {
    if (elm.value.indexOf(".") + "" != "-1" && elm.value.indexOf("@") + "" != "-1")  
      {
    return true;
    }    
    else
    { 
    return false;
    }
  }
  
 function isLen(elm,min,max)
   {
    if (elm.value.length < min || elm.value.length > max )  
      {
    return false;
    }    
    else
    { 
    return true;
    }
  }


function test()
{
  var fejltekst="", konto;
  if (!checkTekstfelt(document.inform.navn)) {fejltekst = "Navn er ikke udfyldt\n"; marker(0,1)}
  if (!checkTekstfelt(document.inform.adresse)) {fejltekst += "Adresse er ikke udfyldt\n"; marker(0,2)}
  if (!checkTekstfelt(document.inform.ponr)) {fejltekst += "Postnummer er ikke udfyldt\n"; marker(0,3)}
  if (!checkTekstfelt(document.inform.byen)) {fejltekst += "By  er ikke udfyldt\n"; marker(0,4)}
  if (!checkTekstfelt(document.inform.email)) {fejltekst += "E-mail er ikke udfyldt\n"; marker(0,6)}
  if (!checkTekstfelt(document.inform.telefon)) {fejltekst += "Telefon er ikke udfyldt\n"; marker(0,5)}
  if (!isLen(document.inform.telefon,8,18)) {fejltekst += "Antal af tegn i telefonnummer er ikke korekt\n"; marker(0,5)}
  if (!isEmail(document.inform.email)) {fejltekst += "@ eller . i email er ikke korekt\n"; marker(0,5)}
  if (!isLen(document.inform.email,6,47)) {fejltekst += "Antal af tegn i email er ikke korekt\n"; marker(0,6)}
  
  if (fejltekst != "")
  {
    alert(fejltekst);
    return false;
  }
  else
  {
    return true;
  }
}

function marker(x,y)
{
document.forms[x].elements[y].focus()
document.forms[x].elements[y].select()
}


/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;


				function createplayer(theFile, go) {
				var s = new SWFObject("http://www.fiskerforum.dk/_struktur/video/mediaplayer.swf","playerID","400","320","7");
				s.addParam("allowfullscreen","true");
				s.addVariable("file",theFile);
				s.addVariable("width","400");
				s.addVariable("height","320");
				s.addVariable("displayheight","300");
				s.addVariable("overstretch","fit");
				s.addVariable('backcolor','0x007CC1');
				s.addVariable('screencolor','0xD4E2EF');
				s.addVariable('usefullscreen','false');
				s.addVariable('image','http://www.fiskerforum.dk/_struktur/video/video_start.jpg');
				s.addVariable('logo','http://www.fiskerforum.dk/_struktur/video/logo.jpg');
				if (go) { s.addVariable("autostart","true"); }
				s.write("placeholder");
				}

				function createplayeroversigt(theFile, go) {
				var s = new SWFObject("http://www.fiskerforum.dk/_struktur/video/mediaplayer.swf","playerID","400","550","7");
				s.addParam("allowfullscreen","true");
				s.addVariable("file",theFile);
				s.addVariable("width","400");
				s.addVariable("height","550");
				s.addVariable("displayheight","300");
				s.addVariable("overstretch","fit");
				
				s.addVariable('screencolor','0xD4E2EF');
				s.addVariable('thumbsinplaylist','true');
				s.addVariable('image','http://www.fiskerforum.dk/_struktur/video/video_start.jpg');
				s.addVariable('logo','http://www.fiskerforum.dk/_struktur/video/logo.jpg');
				s.addVariable('file','http://www.fiskerforum.dk/kutterdata/playlist1.asp');
				if (go) { s.addVariable("autostart","true"); }
				s.write("placeholder");
				}

				function createplayer_169(theFile, go) {
				var s = new SWFObject("http://www.fiskerforum.dk/_struktur/video/mediaplayer.swf","playerID","480","300","7");
				s.addParam("allowfullscreen","true");
				s.addVariable("file",theFile);
				s.addVariable("width","480");
				s.addVariable("height","300");
				s.addVariable("displayheight","280");
				s.addVariable("overstretch","fit");
				s.addVariable('backcolor','0x007CC1');
				s.addVariable('screencolor','0xD4E2EF');
				s.addVariable('usefullscreen','false');
				s.addVariable('image','../../_struktur/erhvervsnyt/2009/video/fiskeriskole.jpg');
				s.addVariable('logo','http://www.fiskerforum.dk/_struktur/video/logo.jpg');
				if (go) { s.addVariable("autostart","true"); }
				s.write("placeholder");
				}




