Avatar billede DomiinoDK Nybegynder
11. juli 2013 - 22:23 Der er 28 kommentarer og
1 løsning

Kalde JS Funktion fra anden side?

Jeg vil høre om jeg kan linke til denne side: http://lemvigcamping.dk - men hvor den automatisk kalder funktionen på siden der hedder "Pladsen" altså pla().

Det er ikke mig der har lavet siden men er ved at rette i den.
Avatar billede Slettet bruger
12. juli 2013 - 07:52 #1
Underlig måde at bygge et website på, alle "sider" er funktioner som hælder content ind med innerHTML="laaaaang streng"
- som om man har gjort sig umage med, at SKJULE indholdet for Google ?!?

Det burde laves helt om, som separate sider. Eller i det mindste, hvis hele sitet absolut SKAL loades i én mundfuld, ved at content ligger i HTML som vises/skjules med menuknapperne.


Du kan ikke kalde en funktion udefra, direkte - det ville være cross-site-scripting = Very Bad Thing.

Men hvis du har mulighed for at ændre på tingene, kunne du lægge et lille script i onLoad, som kigger efter en parameter i URL'en, og så kalder den pågælende funktion:
http://lemvigcamping.dk?pladser

Altså indtil du koder det hele om, ikk : )
Avatar billede The_Buzz Novice
12. juli 2013 - 08:10 #2
Vedkommende der har lavet den får ihvertfald et -02 i programmering af mig...

Jeg kan ikke lige se hvordan man skal linke ind i det ellers - for alle sider ligger i javascript ser det umiddelbart ud til?

Mit råd... Start forfra og lav det ordentligt
Avatar billede DomiinoDK Nybegynder
12. juli 2013 - 21:04 #3
Hej

Jeg er nemlig ved at lave den helt forfra med Wordpress. Men jeg vil gerne bibehold onmouseover funktionen. Orker ikke at skulle til at sætte alle de koordinater ind forfra.

Så kunne man skærer alt det andet væk og så bare lade den loade "Pladsen" i et nyt vindue, så ville det jo være det nemmeste. Så kan jeg jo lave en åbning af nyt vindue som er i størrelse med det kort og så lade hjemmesiden blive i baggrunden.

Hvis jeg nu kan sende HELE js filen / filerne - kan nogen af jer hurtigt rydde op i den?
Avatar billede tobrukDk Novice
14. juli 2013 - 15:22 #4
#T4NK32
Jeg er 110% enig med dig!.


#DomiinoDk

Hvis du skal bruge wordpress til den slags opgaver så findes der sikkert et modul som du kan tilføj, der findes 25,921 modul til wordpress. så du er helt sikker på at du nok skal finde et.
Avatar billede DomiinoDK Nybegynder
14. juli 2013 - 20:36 #5
Det er vel ikke noget WP har med at gøre? Jeg kan nu ikke finde noget plugin der kan mappe et kort med koordinater og lægge teksten til. Hvis nu jeg bare vil gøre det på min måde, kan jeg så kalde pla() med et eksternt link?
Avatar billede tobrukDk Novice
16. juli 2013 - 19:45 #6
Hvorfor ikke kode det selv?
Avatar billede DomiinoDK Nybegynder
16. juli 2013 - 20:57 #7
Fordi jeg ikke er skrap nok til at kode med java selv... jeg vil egentligt bare gerne beholde den nuværende kode og så linke til siden fra en ekstern side.
Avatar billede MadsHaupt Juniormester
22. juli 2013 - 16:31 #8
Hvis dit problem er at du ikke ved hvordan du bruger en javascript funktion fra et script der ligger på en anden side, så gør man sådan her.
Kode:
<script type="text/javascript" src="Link til script"></script>
<script type="text/javascript">
pla();
</script>
Avatar billede DomiinoDK Nybegynder
23. juli 2013 - 23:25 #9
Nej det er mere jeg vil have et link på en side der peger på scriptet på den anden side... altså i et hyperlink...
Avatar billede MadsHaupt Juniormester
24. juli 2013 - 09:20 #10
Så skal du bare linke til scriptet, og så kan du lave et link til en javascript funktion.

Link til scriptet:
<script type="text/javascript" src="Link til script"></script>


Link til javascript funktion:
<a href="javascript: Navn();">Text</a>
Avatar billede DomiinoDK Nybegynder
15. august 2013 - 00:20 #11
MadsHaupt: Kan du ikke komme med et eksempel - jeg kan simpelthen ikke få det til at virke. Du ved jo hvilken side der skal linkes til....
Avatar billede MadsHaupt Juniormester
15. august 2013 - 14:40 #12
Hvis du vil havde siden til at uføre funktionen pla, når siden loades.

Så skal du bare placere scriptet i body taget, ellers virker det ikke.

Eksempel:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
pla();
</script>
</body>
</html>
Avatar billede DomiinoDK Nybegynder
22. august 2013 - 22:34 #13
Nu har jeg bare et problem - altsammen er lagt i en *.js fil der referrer til en *.css fil!



var sheight = screen.height;
var swidth = screen.width;
var mainboxwidth = 1024;
var positionleftmain = (((swidth - mainboxwidth)/2)-10);
var mainboxtop = 110;
var sprog = 'dansk'
var side = 'res'


function res(){
side = 'forside'
document.getElementById('da1').innerHTML = '<div style="position:absolute; left: ' + (positionleftmain + 495) + 'px; top: 10px;" id="da10">' +
'</div><div style="position:absolute; top: 70px; left: ' + (positionleftmain + 495) +
'px;" id="da4"></div><div id="da2" style="position:absolute; left: ' + positionleftmain +
'px; top: ' + mainboxtop + 'px; width: 1024px; background-image:url(images/background.jpg);"></div>  ' +
'<div id="da3" style="position:absolute; left: ' + positionleftmain + 'px; top: 0px; width: 481px; height: 90px; background-image:url(images/logo.jpg);"></div>';
document.getElementById('da2').innerHTML = '<img src="images/luftfoto.jpg"> <p class="kontakt">Lemvig Strand Camping - Vinkelhagevej 6 - 7620 Lemvig - Tlf +45 97 82 00 42 - Fax +45 97 81 04 56 - <a href="mailto:info@lemvigcamping.dk">info@lemvigcamping.dk</a> </p>' ;
document.getElementById('da10').innerHTML = '<img style="cursor: pointer;" onclick="java script:dansk()" src="images/dk.gif">&nbsp&nbsp<img style="cursor: pointer;"' +
' onclick="java script:tysk()" src="images/de.gif">&nbsp&nbsp<img style="cursor: pointer;" onclick="java script:engelsk()" src="images/gb.gif">&nbsp&nbsp<a href="http://www.facebook.com/lemvigstrandcamping" target="_blank"><img src="images/facebook.jpg">'


if (sprog == 'dansk'){
document.getElementById('da4').innerHTML = '<a href="java script:res()">Forside</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Aktiviteter </a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:inf()" style="margin: 0px 20px 0px 20px;">Info/Priser</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Kontakt</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Pladsen</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Galleri</a>' +
'<br><a href="java script:cam()" style="font-size:12px; margin-left: 150px;">Camping</a>' +
'<a href="java script:hyt()" style="font-size:12px; margin-left: 5px; "> Hytter/Vogne </a>' ;
}

if (sprog == 'tysk'){
document.getElementById('da4').innerHTML = '<a href="java script:res()">Titelzeite</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Aktivitäten</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:cam()">Info/Preisen</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Kontakt</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Am Platz</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Gallerie</a>' ;
}

if (sprog == 'engelsk'){
document.getElementById('da4').innerHTML = '<a href="java script:res()">Home</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Activities</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:cam()">Info/Prices</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Contact</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Campsite</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Gallery</a>' ;
}




}

function akt(){
side = 'akt'
if (sprog == 'dansk'){
document.getElementById('da2').innerHTML = '<table><tr><td>&nbsp&nbsp</td><td><br><img src="images/galleri/35b.jpg">' +
'<br><br><img src="images/galleri/29b.jpg"><td>&nbsp&nbsp</td></td><td><p><H1>Aktiviteter</H1><br>Pladsen danner rammerne for den perfekte ferie for hele familien. ' +
'Alle muligheder for naturelskere i de rolige og smukke omgivelser direkte ud til Limfjorden. </p>' +
'<p><b>På pladsen:</b> Ud over lækre familiebaderum, spabaderum, massagestol, børneafdeling og puslerum er der indendørs svømmehal med stort bassin, ' +
'børnebassin, spa, tyrkisk bad og sauna. TV-stue, møntvask, trådløst internet, fælles grill, minigolf, beachvolley, tennis, boldbane, go-carts, spillerum ' +
'med poolbord, airhockey fodboldspil m.m, kiosk med bagerbrød, hjertestarter. I juli arrangeres forskellige børneaktiviteter. Cykler, hytter, campingvogne ' +
'og eget baderum kan lejes.</p>' +
'<p><b>Lige i nærheden: </b>Havneknejpe med underholding i juli måned, badebro, surfskole med udlejning af udstyr, fjordsejlads, lystbådehavn med bådslip og kran, ' +
'adskillige vandrestier bl.a går Planet stien lige forbi pladsen.</p>' +
'<p><b>Tæt på: </b>18 hullers golfbane. Ad en 2,5 km gå/cykelsti langs vandet kommer man til idylliske Lemvig, hvor der er hyggelige spisesteder, gode forretninger, ' +
'museer og gallerier. Gå på opdagelse i Klosterhede Plantage på egen hånd eller med guide i de tidlige morgen timer hvor man kan være heldig at se krondyr og bævere. ' +
'Vesterhavet, Jyllands akvariet, Kystcentret, Sneglehuset, B&O Museet, Mønsted Kalkgruber, Hjerl Hede.</p></td></tr></table><br>' ;
}

if (sprog == 'tysk'){
document.getElementById('da2').innerHTML = '<table><tr><td>&nbsp&nbsp</td><td><br><img src="images/galleri/35b.jpg">' +
'<br><br><img src="images/galleri/29b.jpg"><td>&nbsp&nbsp</td></td><td><p><H1>Aktivitäten</H1><br> Dieser Platz bildet den idealen rahmen für den perfekten Familienurlaub.' +
' Für Naturliebhaber sind alle Möglichkeiten in der ruhigen und schönen Umgebung vorhanden, direkt am Limfjord.</p>' +
'<p><b> Auf dem Platz: </b> Schwimmhalle mit grossem Becken , Kinderbecken, Spa, türkisches Bad und Sauna. Moderne Servicegebäude mit familienbaderäume, ' +
' Kinderabteilung, Baderaum mit spa, Massagestuhl, Fernsehenraum, Münzwäsche, Küchen, Grill, Drahtlos Internet, Minigolf, Strandvolley,' +
' Tennis, Spielplatz mit 2 Hüpfkissen, Go-Karts u.s.w., Spielraum mit Pooltisch, Airhockey u.s.w., Kiosk, Hertzstart,' +
' Im juli werden verschiedene Aktiviteten veranstaltet. Verleih von Hütten, Wohnwagen, Fahrräder und eigenes Baderaum.</p>' +
'<p><b> Ganz in der Nähe: </b> Hafenkneipe mit Musikunterhaltung im juli. Badebrücke, Surfschule mit verleih von ausrüstung, Segeln auf dem fjord, ' +
' Jagthafen mit liegeplatz, viele Wanderwege u.a der Planetenweg.</p>' +
'<p><b> In der Nähe: </b>18-Loch Golfplatz, das Städtchen Lemvig (2,5 km) mit Kunst Museum, gute Geschäfte, gemütliche Speisegaststätte, ' +
' Die Nordsee, Jyllands Akvariet, Kystcenter, Schneckenhaus, B&O museum, Geführte ' +
' Wanderungen in der Klosterhede Plantage (Biber und Krohnenhirsche), mehrere Angelseen.</p><br></td></tr></table><br>' ;
}

if (sprog == 'engelsk'){
document.getElementById('da2').innerHTML = '<table><tr><td>&nbsp&nbsp</td><td><br><img src="images/galleri/35b.jpg">' +
'<br><br><img src="images/galleri/29b.jpg"><td>&nbsp&nbsp</td></td><td><p><H1>Activities</H1>This site is the perfect backdrop for the whole families holiday.' +
' All possibilities for nature lovers in this tranquil and beautiful setting right on the Limfjord.</p>' +
'<p><b> The Site: </b> Besides attractive family bathrooms, spa bath, massage chair, pediatric ward and nursing room we also have our own indoor swimming pool with large pool,' +
' childrens pool, spa, Turkish bath and sauna. We also have a TV room, laundry facilities, wireless internet, shared barbecue, mini golf, beach volleyball,' +
' tennis, football pitch, go-karts, game room with pool table, air hockey, soccer games, shop with fresh bread, defibrillator.' +
' In July we arrange various activities for children. Bicycles, cottages, caravans and a private bathroom can be rented.</p>' +
'<p><b> Nearby: </b> Restaurant Havneknejpe has entertainment in July, jetty, surf school with equipment rental, boat trip, marina with boat slip and crane,' +
' numerous hiking trails including a planet path that goes past the site.</p>' +
'<p><b> Close to: </b>18 hole golf course. A 2.5 km walking / bike path along the water to get to idyllic Lemvig, where there are nice restaurants, good shops,' +
' museums and galleries. Explore the Klosterhede Plantation on your own or with a guide in the early morning hours where you may be lucky enough to see deer and beavers.' +
' North Sea, Jyllands akvariet, Coastal Centre, Shell House, B & O Museum, Mønsted Kalkgruber, Hjerl heath.</p></td></tr></table><br>' ;
}


}





function cam(){
side = 'info'
if (sprog == 'dansk'){
document.getElementById('da2').innerHTML = '<br><table border=0><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/galleri/7b.jpg">' +
'<br><br><img src="images/galleri/13b.jpg"><br><br>' +
//'<img src="images/galleri/20b.jpg"><br><br><img src="images/galleri/29b.jpg"><br><br></td>' +
'<td>&nbsp&nbsp</td><td style="vertical-align:top;"><p><H1>Info & Priser - Camping</H2></p><table border=0><tr><td><b><u>Åbent 22.03. - 15.09.2013 </b></u>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td></td><td><b>Lavsæson</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td><b>Højsæson<br>(08.05.-20.05)<br>(15.06-15.08)' +
'</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td>Voksen</td><td>Kr. 76</td><td>Kr. 86</td></tr>' +
'</tr><tr><td>Børn under 12 år</td><td>Kr. 49</td><td>Kr. 49</td></tr>' +
'</tr><tr><td>El</td><td>Kr. 35</td><td>Kr. 35</td></tr>' +
'</tr><tr><td>Hund</td><td>Kr. 10</td><td>Kr. 10</td></tr>' +
'</tr><tr><td>Pladsgebyr</td><td>Kr. &nbsp 0</td><td>Kr. 56</td></tr>' +
'</table><br><u><b>Incl. adgang til indendørs svømmehal med spa, tyrkisk bad og sauna.</u></b><p><u><b>Campingvognen må stå gratis</u></b> ubeboet, dog ikke weekender, helligdage ' +
'og juli måned. Ubeboet vogn i weekender og helligdage koster 1 voksen overnatning + evt. pladsgebyr pr. døgn</p><table><tr><td>Dagsgæst pr. person</td><td>Kr. 10</td>' +
'</tr><tr><td>Dagsgæst svømmehal pr. person &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 20</td></tr></table><br><br>' +
'<table><tr><td><b>Fastligger:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</b></td><td>Forsæson&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>22.03. - 30.06.</td><td>Kr. 4.500</td></tr><tr><td></td><td>Helsæson</td><td>22.03. - 15.09.</td><td>Kr. 9.100</td>' +
'</tr><tr><td></td><td>Sommersæson</td><td>01.07. - 15.09.&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td>' +
'<td>Kr. 6.000</td></tr><tr><td></td><td>Eftersæson</td><td>15.08. - 15.09.</td><td>Kr. 1.500</td></tr></table>' +
'<p>Priserne er incl. gæstekort til dagsgæster. <br><br>El afregnes med kr. 3,50 pr. kw. + 50 kr. for leje af strømmåler.<br><br> Svømmehal kr. 20 pr. person pr. gang - eller der kan tilkøbes sæsonkort.</p>' ;
}

if (sprog == 'tysk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/galleri/7b.jpg"><br>' +
'<br><img src="images/galleri/13b.jpg"></td>' +
'<td>&nbsp&nbsp</td><td><p><H1>Info & Preisen</H2></p><table><tr><td><b><u>Geöffnet vom 22.03 - 15.09.2013  </b></u>' +
'&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td></td><td><b>Nebensaison&nbsp&nbsp&nbsp</b></td><td><b>Hauptsaison<br>(08.05.-20.05)<br>(15.06-15.08)' +
'</b></td></tr><tr><td>Erwachsene</td><td>Kr. 76</td><td align="right">Kr. 86</td></tr>' +
'</tr><tr><td>Kinder (0-11)</td><td>Kr. 49</td><td align="right">Kr. 49</td></tr>' +
'</tr><tr><td>Strom</td><td>Kr. 35</td><td align="right">Kr. 35</td></tr>' +
'</tr><tr><td>Hund</td><td>Kr. 10</td><td align="right">Kr. 10</td></tr>' +
'</tr><tr><td>Platzgebühr</td><td>Kr. &nbsp 0</td><td align="right">Kr. 56</td></tr>' +
'</table><br><u><b>Incl. Die benutzung der Schwimmhalle, Türkisches Bad, Sauna und des Whirlpool.</u></b><br><br><br><b>Hütten</b> (30 m2 mit Küche, Toilette Deckbett, Kissen, 6 Personen)<br><br> ' +
'<table><tr><td>Preis pro Woche</td><td>Woche 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 5.200</td></tr>' +
'<tr><td></td><td>Woche 28, 29, 30, 31</td><td>Kr. 5.900</td></tr>' +
'<tr><td></td><td>Woche 32</td><td>Kr. 5.200</td></tr>' +
'<tr><td>Nebensaison, Preis pro Woche ab &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 3.200</td></tr>' +
'<tr><td><b>Strom kr. 3,50 per. KW </b></td></tr>'+
'<tr><td><a href="java script:hyt_pic()" style="color:blue; font-size:16px;">Bilder von den Hütten</a></td><td></td><td></td></tr>' +
'<tr></tr></table>' +
'<br><br><b>Hütten</b> (20 m2 mit Küche, Deckbett, Kissen, ' +
'<b>ohne</b> Toilette, 5 Personen)</p>' +
'<table><tr><td>Preis pro Woche</td><td>Woche 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 3.200</td></tr>' +
'<tr><td></td><td>Woche 28, 29, 30, 31</td><td>Kr. 3.900</td></tr>' +
'<tr><td></td><td>Woche 32</td><td>Kr. 3.200</td></tr>' +
'<tr><td>Nebensaison, Preis pro Woche ab &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.000</td></tr>' +
'<tr></tr></table>' +
'<p><b>Wohnwagen </b> (2012 Adria mit Vorzelt, Toilette, <b>ohne</b> Deckbett und Kissen, 5 Personen)</p>' +
'<table><tr><td>Woche</td><td>Woche 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 4.000</td></tr>' +
'<tr><td></td><td>Woche 28, 29, 30, 31</td><td>Kr. 4.900</td></tr>' +
'<tr><td></td><td>Woche 32</td><td>Kr. 4.000</td></tr>' +
'<tr><td>Nebensaison, Preis pro Woche ab&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.200</td></tr>' +
'</table><br><br><br><br></td></tr></table>';
}

if (sprog == 'engelsk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/galleri/7b.jpg"><br>' +
'<br><img src="images/galleri/13b.jpg"></td>' +
'<td>&nbsp&nbsp</td><td><p><H1>Info & Prices</H2></p><table><tr><td><b><u>Open between 22.03 - 15.09.2013  </b></u>' +
'&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td></td><td><b>Off season &nbsp&nbsp&nbsp&nbsp</b></td><td><b>High season<br>(08.05.-20.05)<br>(15.06-15.08)' +
'</b></td></tr><tr><td>Adults</td><td>Kr. 76</td><td align="right">Kr. 86</td></tr>' +
'</tr><tr><td>Children (0-11)</td><td>Kr. 49</td><td align="right">Kr. 49</td></tr>' +
'</tr><tr><td>Electricity</td><td>Kr. 35</td><td align="right">Kr. 35</td></tr>' +
'</tr><tr><td>Dog</td><td>Kr. 10</td><td align="right">Kr. 10</td></tr>' +
'</tr><tr><td>Sitetax</td><td>Kr. &nbsp 0</td><td align="right">Kr. 56</td></tr>' +
'</table><br><u><b>Inc. entrance to the indoor swimming pool, spa, Turkish baths and sauna.</u></b><br><br><br><b>Huts</b> (30 m2, with kitchen, toilet, bedding, 6 per.) <br><br>' +
'<table><tr><td>Price per week</td><td>Week 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 5.200</td></tr>' +
'<tr><td></td><td>Week 28, 29, 30, 31</td><td>Kr. 5.900</td></tr>' +
'<tr><td></td><td>Week 32</td><td>Kr. 5.200</td></tr>' +
'<tr><td>Out with the above weeks &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 3.200</td></tr>' +
'<tr><td><b>Electricity kr. 3,50 per. KW </b></td></tr>'+
'<tr><td><a href="java script:hyt_pic()" style="color:blue; font-size:16px;">Pictures of the Huts</a></td><td></td><td></td></tr>' +
'<tr></tr></table>' +
'<br><br><b>Huts</b> (20 m2, with kitchen, bedding, ' +
'<b>no</b> toilet, 5 per)</p>' +
'<table><tr><td>Price per week</td><td>Week 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 3.200</td></tr>' +
'<tr><td></td><td>Week 28, 29, 30, 31</td><td>Kr. 3.900</td></tr>' +
'<tr><td></td><td>Week 32</td><td>Kr. 3.200</td></tr>' +
'<tr><td>Out with the above weeks &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.000</td></tr>' +
'<tr></tr></table>' +
'<p><b>Caravans </b> (2012 Adria with front tent and toilet, <b>no</b> bedding, 5 per)</p>' +
'<table><tr><td>Price per week</td><td>Week 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 4.000</td></tr>' +
'<tr><td></td><td>Week 28, 29, 30, 31</td><td>Kr. 4.900</td></tr>' +
'<tr><td></td><td>Week 32</td><td>Kr. 4.000</td></tr>' +
'<tr><td>Out with the above weeks&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.200</td></tr>' +
'</table><br><br><br><br></td></tr></table>';
}
}
function hyt(){
side = 'info'
if (sprog == 'dansk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/hyt_01.png">' +
'<br><br><img src="images/galleri/13b.jpg"><br><br><img src="images/galleri/20b.jpg"><br><br></td>' +
//'<img src="images/galleri/29b.jpg"><br><br></td>' +
'<td>&nbsp&nbsp</td><td style="vertical-align:top;"><p><H1>Info & Priser - Hytter & Campingvogne</H2></p><table><tr><td><b><u>Åbent 22.03. - 15.09.2013 </b></u>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'<p><b>Hytter</b> (bygget 2012 30 m2, med køkken, <b>bad/toilet</b>, dyner og puder, 6 pers.)</p>' +
'<table><tr><td>Ugepris</td><td>Uge 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 5.200</td></tr>' +
'<tr><td></td><td>Uge 28, 29, 30, 31</td><td>Kr. 5.900</td></tr>' +
'<tr><td></td><td>Uge 32</td><td>Kr. 5.200</td></tr>' +
'<tr><td>Udenfor nævnte uger:</td><td></td><td></td></tr>' +
'<tr><td>Fra ugepris:</td><td></td><td>Kr. 3.200</td></tr>' +
'<tr><td>Døgnpris weekender og helligdage &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. &nbsp&nbsp 700</td></tr>' +
'<tr><td>Døgnpris hverdage</td><td></td><td>Kr. &nbsp&nbsp 500</td></tr>' +
'<tr><td>El afregnes med 3,50 pr. KW.</td><td></td><td></td></tr>' +
'<tr><td><a href="java script:hyt_pic()" style="color:blue; font-size:16px;">Billeder af hytterne</a></td><td></td><td></td></tr></table>' +
' <br><br><p><b>Hytter</b> (20 m2, med køkken, dyner og puder, <b>uden</b> toilet, 5 pers.)</p>' +
'<table><tr><td>Ugepris</td><td>Uge 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 3.200</td></tr>' +
'<tr><td></td><td>Uge 28, 29, 30, 31</td><td>Kr. 3.900</td></tr>' +
'<tr><td></td><td>Uge 32</td><td>Kr. 3.200</td></tr>' +
'<tr><td>Udenfor nævnte uger:</td><td></td><td></td></tr>' +
'<tr><td>Fra ugepris:</td><td></td><td>Kr. 2.000</td></tr>' +
'<tr><td>Døgnpris weekender og helligdage &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. &nbsp&nbsp 500</td></tr>' +
'<tr><td>Døgnpris hverdage</td><td></td><td>Kr. &nbsp&nbsp 350</td></tr></table>' +
'<br><br><p><b>Campingvogne </b> (2012 Adria med fortelt, toilet, <b>uden</b> dyner/puder, 5 pers.)</p>' +
'<table><tr><td>Ugepris</td><td>Uge 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 4.000</td></tr>' +
'<tr><td></td><td>Uge 28, 29, 30, 31</td><td>Kr. 4.900</td></tr>' +
'<tr><td></td><td>Uge 32</td><td>Kr. 4.000</td></tr>' +
'<tr><td>Udenfor nævnte uger:</td><td></td><td></td></tr>' +
'<tr><td>Fra ugepris:</td><td></td><td>Kr. 2.200</td></tr>' +
'<tr><td>Døgnpris weekender og helligdage&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. &nbsp&nbsp 500</td></tr>' +
'<tr><td>Døgnpris hverdage</td><td></td><td>Kr. &nbsp&nbsp 350</td></tr></table><br><br><br><br><br>' +
'</td></tr></table>';
}

if (sprog == 'tysk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/galleri/7b.jpg"><br>' +
'<br><img src="images/galleri/13b.jpg"></td>' +
'<td>&nbsp&nbsp</td><td><p><H1>Info & Preisen</H2></p><table><tr><td><b><u>Geöffnet vom 22.03 - 15.09.2013  </b></u>' +
'&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td></td><td><b>Nebensaison&nbsp&nbsp&nbsp</b></td><td><b>Hauptsaison<br>(16.05.-28.05)<br>(15.06-15.08)' +
'</b></td></tr><tr><td>Erwachsene</td><td>Kr. 76</td><td align="right">Kr. 86</td></tr>' +
'</tr><tr><td>Kinder (0-11)</td><td>Kr. 49</td><td align="right">Kr. 49</td></tr>' +
'</tr><tr><td>Strom</td><td>Kr. 35</td><td align="right">Kr. 35</td></tr>' +
'</tr><tr><td>Hund</td><td>Kr. 10</td><td align="right">Kr. 10</td></tr>' +
'</tr><tr><td>Platzgebühr</td><td>Kr. &nbsp 0</td><td align="right">Kr. 56</td></tr>' +
'</table><br><u><b>Incl. Die benutzung der Schwimmhalle, Türkisches Bad, Sauna und des Whirlpool.</u></b><br><br><br><b>Hütten</b> (20 m2 mit Küche, Deckbett, Kissen, ' +
'<b>ohne</b> Toilette, 5 Personen)</p>' +
'<table><tr><td>Preis pro Woche</td><td>Woche 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 3.200</td></tr>' +
'<tr><td></td><td>Woche 28, 29, 30, 31</td><td>Kr. 3.900</td></tr>' +
'<tr><td></td><td>Woche 32</td><td>Kr. 3.200</td></tr>' +
'<tr><td>Nebensaison, Preis pro Woche ab &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.000</td></tr>' +
'<tr></tr></table>' +
'<p><b>Wohnwagen </b> (2012 Adria mit Vorzelt, Toilette, <b>ohne</b> Deckbett und Kissen, 5 Personen)</p>' +
'<table><tr><td>Woche</td><td>Woche 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 4.000</td></tr>' +
'<tr><td></td><td>Woche 28, 29, 30, 31</td><td>Kr. 4.900</td></tr>' +
'<tr><td></td><td>Woche 32</td><td>Kr. 4.000</td></tr>' +
'<tr><td>Nebensaison, Preis pro Woche ab&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.200</td></tr>' +
'</table><br><br><br><br></td></tr></table>';
}

if (sprog == 'engelsk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td><img src="images/galleri/2b.jpg"><br><br><img src="images/galleri/7b.jpg"><br>' +
'<br><img src="images/galleri/13b.jpg"></td>' +
'<td>&nbsp&nbsp</td><td><p><H1>Info & Prices</H2></p><table><tr><td><b><u>Open between 22.03 - 15.09.2013  </b></u>' +
'&nbsp&nbsp&nbsp&nbsp&nbsp</td></tr><tr><td></td><td><b>Off season &nbsp&nbsp&nbsp&nbsp</b></td><td><b>High season<br>(08.05.-20.05)<br>(15.06-15.08)' +
'</b></td></tr><tr><td>Adults</td><td>Kr. 75</td><td align="right">Kr. 85</td></tr>' +
'</tr><tr><td>Children (0-11)</td><td>Kr. 49</td><td align="right">Kr. 49</td></tr>' +
'</tr><tr><td>Electricity</td><td>Kr. 35</td><td align="right">Kr. 35</td></tr>' +
'</tr><tr><td>Dog</td><td>Kr. 10</td><td align="right">Kr. 10</td></tr>' +
'</tr><tr><td>Sitetax</td><td>Kr. &nbsp 0</td><td align="right">Kr. 55</td></tr>' +
'</table><br><u><b>Inc. entrance to the indoor swimming pool, spa, Turkish baths and sauna.</u></b><br><br><br><b>Huts</b> (20 m2, with kitchen, bedding, ' +
'<b>no</b> toilet, 5 per)</p>' +
'<table><tr><td>Price per week</td><td>Week 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 3.200</td></tr>' +
'<tr><td></td><td>Week 28, 29, 30, 31</td><td>Kr. 3.900</td></tr>' +
'<tr><td></td><td>Week 32</td><td>Kr. 3.200</td></tr>' +
'<tr><td>Out with the above weeks &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.000</td></tr>' +
'<tr></tr></table>' +
'<p><b>Caravans </b> (2012 Adria with front tent and toilet, <b>no</b> bedding, 5 per)</p>' +
'<table><tr><td>Price per week</td><td>Week 25, 26, 27&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td>Kr. 4.000</td></tr>' +
'<tr><td></td><td>Week 28, 29, 30, 31</td><td>Kr. 4.900</td></tr>' +
'<tr><td></td><td>Week 32</td><td>Kr. 4.000</td></tr>' +
'<tr><td>Out with the above weeks&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td></td><td>Kr. 2.200</td></tr>' +
'</table><br><br><br><br></td></tr></table>';
}
}

function hyt_pic(){
side = 'info'
document.getElementById('da2').innerHTML = '<div>'+
'<div style="float:left; padding:15px"><img src="images/hyt_01.png"></div><div style="float:left; padding:15px"><img src="images/hyt_02.png"></div><div style="float:left; padding:15px"><img src="images/hyt_03.png"></div>' + 
'<div style="float:left; padding:15px"><img src="images/hyt_04.png"></div><div style="float:left; padding:15px"><img src="images/hyt_05.png">' +
'</div>'}

function kon(){
side = 'kon'
if (sprog == 'dansk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td valign="top"><img src="images/galleri/13b.jpg" align="top"><br><br><img src="images/galleri/2b.jpg"><br>' +
'<br><img src="images/galleri/35b.jpg"><br><br></td><td>&nbsp&nbsp</td><td><p><H1>Kontakt</H2></p><br><table>' +
'<tr><td>Lemvig Strand Camping<br>Vinkelhagevej 6<br>7620 Lemvig <br>Tlf +45 97 82 00 42<br>Fax +45 97 81 04 56<br><a class="blue" href="mailto:info@lemvigcamping.dk ">info@lemvigcamping.dk</a></td><td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td><IMG SRC="images/camp.jpg" ><br>' +
'<br><a class="blue" href="http://g.co/maps/ypk7r" target="_blank"><img src="images/googlemaps.jpg" width="95" heigth="88"> <br> Google Maps</a></td>' +
'</tr><tr><td><br><p><b>Links :<br><br><a class="blue" href="LCS.pdf" target="_blank">Download PDF brochure</a><br><br>' +
'<a class="blue" href="http://www.visitlemvig.dk" target="_blank">www.visitlemvig.dk</a><br>' +
'<a class="blue" href="http://www.lemvigmuseum.dk" target="_blank">www.lemvigmuseum.dk</a><br>' +
'<a class="blue" href="http://www.mfrk.dk" target="_blank">www.mfrk.dk</a><br>' +
'<a class="blue" href="http://www.gjellergaard.dk" target="_blank">www.gjellergaard.dk</a><br>' +
'<a class="blue" href="http://www.vestjysk-friluftcenter.dk" target="_blank">www.vestjyskfriluftcenter.dk</a><br>' +
'<a class="blue" href="http://www.lemviggolfklub.dk" target="_blank">www.lemviggolfklub.dk</a><br>' +
'<a class="blue" href="http://www.kystcentret.com" target="_blank">www.kystcentret.com</a><br>' +
'<a class="blue" href="http://www.vestjysk-kajak.dk" target="_blank">www.vestjysk-kajak.dk</a><br><br><br>' +
'<a class="blue" href="https://www.campingpas.dk/kobpas.asp?sprog=KD&udsteder=638" target="_blank">Online Pasbestilling</a><br>' +
'<IMG STYLE="width="92" height="49" IMG SRC="images/pas.jpg" ><br><br><br><br><br></td></tr></table></table></td></tr></table>';
}

if (sprog == 'tysk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td valign="top"><img src="images/galleri/13b.jpg"><br><br><img src="images/galleri/2b.jpg"><br>' +
'<br><img src="images/galleri/35b.jpg"><br><br></td><td>&nbsp&nbsp</td><td><p><H1>Kontakt</H2></p><br><table>' +
'<tr><td>Lemvig Strand Camping<br>Vinkelhagevej 6<br>7620 Lemvig <br>Tlf +45 97 82 00 42<br>Fax +45 97 81 04 56<br><a class="blue" href="mailto:info@lemvigcamping.dk">info@lemvigcamping.dk</a></td><td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td><IMG SRC="images/camp.jpg" ><br>' +
'<br><a class="blue" href="http://g.co/maps/ypk7r" target="_blank"><img src="images/googlemaps.jpg" width="95" heigth="88"> <br>  Google Maps</a></td></td>' +
'</tr><tr><td><br><p><b>Links :<br><br><a class="blue" href="LCS.pdf" target="_blank">Download PDF brochure</a><br><br>' +
'<a class="blue" href="http://www.visitlemvig.dk" target="_blank">www.visitlemvig.dk</a><br>' +
'<a class="blue" href="http://www.lemvigmuseum.dk" target="_blank">www.lemvigmuseum.dk</a><br>' +
'<a class="blue" href="http://www.mfrk.dk" target="_blank">www.mfrk.dk</a><br>' +
'<a class="blue" href="http://www.gjellergaard.dk" target="_blank">www.gjellergaard.dk</a><br>' +
'<a class="blue" href="http://www.vestjysk-friluftcenter.dk" target="_blank">www.vestjyskfriluftcenter.dk</a><br>' +
'<a class="blue" href="http://www.lemviggolfklub.dk" target="_blank">www.lemviggolfklub.dk</a><br>' +
'<a class="blue" href="http://www.kystcentret.com" target="_blank">www.kystcentret.com</a><br>' +
'<a class="blue" href="http://www.havneknejpen.dk" target="_blank">www.havneknejpen.dk</a><br>' +
'<a class="blue" href="http://www.vestjysk-kajak.dk" target="_blank">www.vestjysk-kajak.dk</a><br><br><br>' +
'<a class="blue" href="https://www.campingpas.dk/kobpas.asp?sprog=de&udsteder=638" target="_blank">Online campingpass kaufen</a><br>' +
'<IMG STYLE="width="92" height="49" IMG SRC="images/pas.jpg" ><br><br><br><br><br></td></tr></table></table></td></tr></table>';
}

if (sprog == 'engelsk'){
document.getElementById('da2').innerHTML = '<br><table><tr><td>&nbsp&nbsp</td><td valign="top"><img src="images/galleri/13b.jpg"><br><br><img src="images/galleri/2b.jpg"><br>' +
'<br><img src="images/galleri/35b.jpg"><br><br></td><td>&nbsp&nbsp</td><td><p><H1>Contact</H2></p><br><table>' +
'<tr><td>Lemvig Strand Camping<br>Vinkelhagevej 6<br>7620 Lemvig <br>Tlf +45 97 82 00 42<br>Fax +45 97 81 04 56<br><a class="blue" href="mailto:info@lemvigcamping.dk ">info@lemvigcamping.dk</a></td><td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp' +
'&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</td><td><IMG SRC="images/camp.jpg" ><br>' +
'<br><a class="blue" href="http://g.co/maps/ypk7r" target="_blank"> <img src="images/googlemaps.jpg" width="95" heigth="88"> <br> Google Maps</a></td></td>' +
'</tr><tr><td><br><p><b>Links :<br><br><a class="blue" href="LCS.pdf" target="_blank">Download PDF brochure</a><br><br>' +
'<a class="blue" href="http://www.visitlemvig.dk" target="_blank">www.visitlemvig.dk</a><br>' +
'<a class="blue" href="http://www.lemvigmuseum.dk" target="_blank">www.lemvigmuseum.dk</a><br>' +
'<a class="blue" href="http://www.mfrk.dk" target="_blank">www.mfrk.dk</a><br>' +
'<a class="blue" href="http://www.gjellergaard.dk" target="_blank">www.gjellergaard.dk</a><br>' +
'<a class="blue" href="http://www.vestjysk-friluftcenter.dk" target="_blank">www.vestjyskfriluftcenter.dk</a><br>' +
'<a class="blue" href="http://www.lemviggolfklub.dk" target="_blank">www.lemviggolfklub.dk</a><br>' +
'<a class="blue" href="http://www.kystcentret.com" target="_blank">www.kystcentret.com</a><br>' +
'<a class="blue" href="http://www.havneknejpen.dk" target="_blank">www.havneknejpen.dk</a><br>' +
'<a class="blue" href="http://www.vestjysk-kajak.dk" target="_blank">www.vestjysk-kajak.dk</a><br><br><br>' +
'<a class="blue" href="https://www.campingpas.dk/kobpas.asp?sprog=gb&udsteder=638" target="_blank">Buy camping card online</a><br>' +
'<IMG STYLE="width="92" height="49" IMG SRC="images/pas.jpg" ><br><br><br><br><br></td></tr></table></table></td></tr></table>';
}
}

function pla(){
side = 'pla';

if (sprog == 'dansk'){
var hovertxt = '<div style="position:absolute; left:850 px; top: 100px; width: 150px;"><p class="blue">Hold musen over områder på kortet for at se hvad det er</p></p><br>';
}

if (sprog == 'engelsk'){
hovertxt = '<div style="position:absolute; left:850 px; top: 100px; width: 150px;"><p class="blue">Hold the mouse over areas on the map to see what it is</p></p><br>';
}

if (sprog == 'tysk'){
hovertxt = '<div style="position:absolute; left:850 px; top: 100px; width: 150px;"><p class="blue">Halten Sie die Maus über Bereiche zu Beschreibung sehen </p></p><br>';
}



document.getElementById('da2').innerHTML = '<table><tr><td><img src="images/pladsen2.jpg"></td><td>' + hovertxt + '<div id="da20"></div></td></tr></table>' +
'<div style="position:absolute; left: 190px; top:190px; width: 80px; height: 27px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads1()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 272px; top:290px; width: 54px; height: 72px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads2()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 505px; top:168px; width: 60px; height: 50px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads3()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 443px; top:90px; width: 50px; height: 45px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads4()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 485px; top:400px; width: 27px; height: 27px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads5()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 515px; top:370px; width: 40px; height: 60px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads6()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 100px; top:433px; width: 27px; height: 27px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads7()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 100px; top:540px; width: 50px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads8()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 150px; top:532px; width: 50px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads9()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 200px; top:524px; width: 50px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads10()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 250px; top:518px; width: 50px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads11()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 152px; top:555px; width: 60px; height: 60px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads12()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 510px; top:530px; width: 60px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads13()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 250px; top:545px; width: 50px; height: 17px; background-color: white; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads14()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 30px; top:530px; width: 65px; height: 17px; background-color: black; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads15()" onmouseout="clearplads()"></div>' +
'<div style="position:absolute; left: 775px; top:417px; width: 20px; height: 65px; background-color: blue; opacity:0.01;filter:alpha(opacity=01)"' +
' onmouseover="java script:plads16()" onmouseout="clearplads()"></div>'
;

}

function gal(){
side = 'gal';

document.getElementById('da2').innerHTML = '<table><tr><td><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></td>' +
'<tr><td><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></td>' +
'<td><IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 10px; width="150" height="100" onclick="java script:galleri1()" IMG SRC="images/galleri/1a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 172px; width="150" height="100" onclick="java script:galleri2()" IMG SRC="images/galleri/2a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 344px; width="150" height="100" onclick="java script:galleri3()" IMG SRC="images/galleri/3a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 516px; width="150" height="100" onclick="java script:galleri4()" IMG SRC="images/galleri/4a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 688px; width="150" height="100" onclick="java script:galleri5()" IMG SRC="images/galleri/5a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 20px; left: 860px; width="150" height="100" onclick="java script:galleri6()" IMG SRC="images/galleri/6a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 10px; width="150" height="100" onclick="java script:galleri7()" IMG SRC="images/galleri/7a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 172px; width="150" height="100" onclick="java script:galleri8()" IMG SRC="images/galleri/8a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 344px; width="150" height="100" onclick="java script:galleri9()" IMG SRC="images/galleri/9a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 516px; width="150" height="100" onclick="java script:galleri10()" IMG SRC="images/galleri/10a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 688px; width="150" height="100" onclick="java script:galleri11()" IMG SRC="images/galleri/11a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 141px; left: 860px; width="150" height="100" onclick="java script:galleri12()" IMG SRC="images/galleri/12a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 10px; width="150" height="100" onclick="java script:galleri13()" IMG SRC="images/galleri/13a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 172px; width="150" height="100" onclick="java script:galleri14()" IMG SRC="images/galleri/14a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 344px; width="150" height="100" onclick="java script:galleri15()" IMG SRC="images/galleri/15a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 516px; width="150" height="100" onclick="java script:galleri16()" IMG SRC="images/galleri/16a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 688px; width="150" height="100" onclick="java script:galleri17()" IMG SRC="images/galleri/17a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 262px; left: 860px; width="150" height="100" onclick="java script:galleri18()" IMG SRC="images/galleri/18a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 10px;; width="150" height="100" onclick="java script:galleri19()" IMG SRC="images/galleri/19a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 172px; width="150" height="100" onclick="java script:galleri20()" IMG SRC="images/galleri/20a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 344px; width="150" height="100" onclick="java script:galleri21()" IMG SRC="images/galleri/21a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 516px; width="150" height="100" onclick="java script:galleri22()" IMG SRC="images/galleri/22a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 688px; width="150" height="100" onclick="java script:galleri23()" IMG SRC="images/galleri/23a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 383px; left: 860px; width="150" height="100" onclick="java script:galleri24()" IMG SRC="images/galleri/24a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 10px;; width="150" height="100" onclick="java script:galleri25()" IMG SRC="images/galleri/25a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 172px; width="150" height="100" onclick="java script:galleri26()" IMG SRC="images/galleri/26a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 344px; width="150" height="100" onclick="java script:galleri27()" IMG SRC="images/galleri/27a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 516px; width="150" height="100" onclick="java script:galleri28()" IMG SRC="images/galleri/28a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 688px; width="150" height="100" onclick="java script:galleri29()" IMG SRC="images/galleri/29a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 506px; left: 860px; width="150" height="100" onclick="java script:galleri30()" IMG SRC="images/galleri/30a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 10px;; width="150" height="100" onclick="java script:galleri31()" IMG SRC="images/galleri/31a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 172px; width="150" height="100" onclick="java script:galleri32()" IMG SRC="images/galleri/32a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 344px; width="150" height="100" onclick="java script:galleri33()" IMG SRC="images/galleri/33a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 516px; width="150" height="100" onclick="java script:galleri34()" IMG SRC="images/galleri/34a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 688px; width="150" height="100" onclick="java script:galleri35()" IMG SRC="images/galleri/35a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 627px; left: 860px; width="150" height="100" onclick="java script:galleri36()" IMG SRC="images/galleri/36a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 10px; width="150" height="100" onclick="java script:galleri37()" IMG SRC="images/galleri/37a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 172px; width="150" height="100" onclick="java script:galleri38()" IMG SRC="images/galleri/38a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 344px; width="150" height="100" onclick="java script:galleri39()" IMG SRC="images/galleri/39a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 516px; width="150" height="100" onclick="java script:galleri40()" IMG SRC="images/galleri/40a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 688px; width="150" height="100" onclick="java script:galleri41()" IMG SRC="images/galleri/41a.jpg">' +
'<IMG STYLE="cursor:pointer; position:absolute; TOP: 748px; left: 860px;; width="150" height="100" onclick="java script:galleri42()" IMG SRC="images/galleri/42a.jpg"></td></tr></table>';


}



function viewer(){
document.getElementById('da2').innerHTML = '<table><tr><td><table><tr><td><img src="images/galleri/' + (mainimage - 1) + 'a.jpg"></td></tr><tr><td>' +
'<img style="cursor:pointer;" onclick="java script:previous()" src="images/tilbage.jpg"></td></tr></table></td><td><img style="width: 700px;" src="images/galleri/' + mainimage + '.jpg"></td>' +
'<td><table><tr><td><img src="images/galleri/' + (mainimage + 1) + 'a.jpg"></td></tr><tr><td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp ' +
' &nbsp&nbsp<img style="cursor:pointer;" onclick="java script:next()" src="images/frem.jpg"></td></tr></table></td>' +
'</td></tr></table>'


//'<table><tr><td><img src="images/galleri/' + (mainimage - 1) + 'a.jpg"></td><td><table><tr><td><img style="cursor:pointer;" onclick="java script:previous()" src="images/tilbage.jpg"></td><td><img style="height: 500px;" src="images/galleri/' + mainimage + '.jpg"></td>' +
//'<td><img style="cursor:pointer;" onclick="java script:next()" src="images/frem.jpg"></td></tr></table></td><td><img src="images/galleri/' + (mainimage + 1) + 'a.jpg"></td></tr></table> ';
}   

function next(){
mainimage = mainimage + 1
if (mainimage == 43){
mainimage = 1;
}
viewer()
}

function previous(){
mainimage = mainimage - 1
if (mainimage == 0){
mainimage = 42;
}
viewer()
}
function dansk(){

document.getElementById('da4').innerHTML = '<a href="java script:res()">Forside</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Aktiviteter</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:inf()">Info & Priser</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Kontakt</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Pladsen</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Galleri</a>' ;
sprog = 'dansk';

if (side == 'forside'){
res()
}

if (side == 'akt'){
akt()
}

if (side == 'info'){
inf()
}

if (side == 'kon'){
kon()
}

if (side == 'pla'){
pla()
}


if (side == 'gal'){
gal()
}

}

function tysk(){
document.getElementById('da4').innerHTML = '<a href="java script:res()">Titelzeite</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Aktivitäten</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:inf()">Info & Preisen</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Kontakt</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Am Platz</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Gallerie</a>' ;

sprog = 'tysk';

if (side == 'forside'){
res()
}

if (side == 'akt'){
akt()
}

if (side == 'info'){
inf()
}

if (side == 'kon'){
kon()
}

if (side == 'pla'){
pla()
}


if (side == 'gal'){
gal()
}

}

function engelsk(){

document.getElementById('da4').innerHTML = '<a href="java script:res()">Home</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:akt()">Activities</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:inf()">Info & Prices</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:kon()">Contact</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:pla()">Campsite</a>' +
'&nbsp&nbsp&nbsp&nbsp<a href="java script:gal()">Gallery</a>' ;

sprog = 'engelsk';

if (side == 'forside'){
res()
}

if (side == 'akt'){
akt()
}

if (side == 'info'){
inf()
}

if (side == 'kon'){
kon()
}

if (side == 'pla'){
pla()
}


if (side == 'gal'){
gal()
}

}


function clearplads(){
document.getElementById('da20').innerHTML = '';
}

function plads1(){
if (sprog == 'dansk'){
txt = 'Hytter';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hytter.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Hütten';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hytter.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Huts';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hytter.jpg"><br><br>' + txt + '</p>';
}
}

function plads2(){
if (sprog == 'dansk'){
txt = 'Legeplads';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/legeplads.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Kinderspielplatz';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/legeplads.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Playground';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/legeplads.jpg"><br><br>' + txt + '</p>';
}
}

function plads3(){
if (sprog == 'dansk'){
txt = 'Boldbane';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Spielwiese';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Ballcourt';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}
}

function plads4(){
if (sprog == 'dansk'){
txt = 'Telt pladser med bålplads';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/telte.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Zeltplatz mit feuerplatz';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/telte.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Campsite with campfires';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/telte.jpg"><br><br>' + txt + '</p>';
}
}

function plads5(){
if (sprog == 'dansk'){
txt = 'Grill';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Grill';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Barbeque';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}
}

function plads6(){
if (sprog == 'dansk'){
txt = 'Køkken, spisestue, bruser for surfer, familiebaderum, puslerum, handicaptoilet, kemisk toilet og fiskerengøring';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/familierum.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Küche, Esszimmer, Dusche zum Surfen, Familienbad, Wickelraum, behindertengerechte Toiletten, chemische Toiletten und Fisch Reinigung';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/familierum.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Kitchen, dining room, shower for surfing, family bathroom, baby changing facilities, disabled toilets, chemical toilets and fish cleaning';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/familierum.jpg"><br><br>' + txt + '</p>';
}
}

function plads7(){
if (sprog == 'dansk'){
txt = 'Spillerum';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/spillerum.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Spielraum';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/spillerum.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Playroom';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/spillerum.jpg"><br><br>' + txt + '</p>';
}
}

function plads8(){
if (sprog == 'dansk'){
txt = 'Information og butik';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/information.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Information und shop';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/information.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Information and shop';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/information.jpg"><br><br>' + txt + '</p>';
}
}

function plads9(){
if (sprog == 'dansk'){
txt = 'Familiebaderum og puslerum';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/kokken.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Familienbadezimmer und Wickelraum';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/kokken.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Family washrooms and baby changing';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/kokken.jpg"><br><br>' + txt + '</p>';
}
}

function plads10(){
if (sprog == 'dansk'){
txt = 'køkken, fjernsynsstue, Møntvask, kemisk toilet og spisestue';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Küche, TV-Raum, Wäscherei, chemische Toilette und Esszimmer';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'kitchen, TV room, Launderette, chemical toilet and dining room';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}
}

function plads11(){
if (sprog == 'dansk'){
txt = 'Autovask, vandpåfyldning og aftapning';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Auto waschen, Wasser Befüllen und Entleeren';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Auto Washing, water filling and draining';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}
}

function plads12(){
if (sprog == 'dansk'){
txt = 'Minigolf og beachvolley';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/minigolf.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Minigolf und Beach-Volleyball';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/minigolf.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Minigolf and beachvolley';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/minigolf.jpg"><br><br>' + txt + '</p>';
}
}

function plads13(){
if (sprog == 'dansk'){
txt = 'Stranden';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/strand.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Strand';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/strand.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'The beach';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/strand.jpg"><br><br>' + txt + '</p>';
}
}

function plads14(){
if (sprog == 'dansk'){
txt = 'Petanque';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'tysk'){
txt = 'Petanque';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Petanque';
document.getElementById('da20').innerHTML = '<p class="blue">' + txt + '</p>';
}
}

function plads15(){
if (sprog == 'dansk'){
txt = 'Svømmehal';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/svommehal.jpg"><br><br>' + txt + '</p>';
}


if (sprog == 'tysk'){
txt = 'Shwimmhalle';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/svommehal.jpg"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Poll';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/svommehal.jpg"><br><br>' + txt + '</p>';
}
}

function plads16(){
if (sprog == 'dansk'){
txt = 'Hytter';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hyt_01_small.png"><br><br>' + txt + '</p>';
}


if (sprog == 'tysk'){
txt = 'Hütten';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hyt_01_small.png"><br><br>' + txt + '</p>';
}

if (sprog == 'engelsk'){
txt = 'Huts';
document.getElementById('da20').innerHTML = '<p class="blue"><img src="images/hyt_01_small.png"><br><br>' + txt + '</p>';
}
}

function galleri1(){
mainimage = 1;
viewer();
}

function galleri2(){
mainimage = 2;
viewer();
}

function galleri3(){
mainimage = 3;
viewer();
}

function galleri4(){
mainimage = 4;
viewer();
}

function galleri5(){
mainimage = 5;
viewer();
}

function galleri6(){
mainimage = 6;
viewer();
}

function galleri7(){
mainimage = 7;
viewer();
}

function galleri8(){
mainimage = 8;
viewer();
}

function galleri9(){
mainimage = 9;
viewer();
}

function galleri10(){
mainimage = 10;
viewer();
}

function galleri11(){
mainimage = 11;
viewer();
}

function galleri1(){
mainimage = 1;
viewer();
}

function galleri12(){
mainimage = 12;
viewer();
}

function galleri13(){
mainimage = 13;
viewer();
}

function galleri14(){
mainimage = 14;
viewer();
}

function galleri15(){
mainimage = 15;
viewer();
}

function galleri16(){
mainimage = 16;
viewer();
}

function galleri17(){
mainimage = 17;
viewer();
}

function galleri18(){
mainimage = 18;
viewer();
}

function galleri19(){
mainimage = 19;
viewer();
}

function galleri20(){
mainimage = 20;
viewer();
}

function galleri21(){
mainimage = 21;
viewer();
}

function galleri22(){
mainimage = 22;
viewer();
}

function galleri23(){
mainimage = 23;
viewer();
}

function galleri24(){
mainimage = 24;
viewer();
}

function galleri25(){
mainimage = 25;
viewer();
}

function galleri26(){
mainimage = 26;
viewer();
}

function galleri27(){
mainimage = 27;
viewer();
}

function galleri28(){
mainimage = 28;
viewer();
}

function galleri29(){
mainimage = 29;
viewer();
}

function galleri30(){
mainimage = 30;
viewer();
}

function galleri31(){
mainimage = 31;
viewer();
}

function galleri32(){
mainimage = 32;
viewer();
}

function galleri33(){
mainimage = 33;
viewer();
}

function galleri34(){
mainimage = 34;
viewer();
}

function galleri35(){
mainimage = 35;
viewer();
}

function galleri36(){
mainimage = 36;
viewer();
}

function galleri37(){
mainimage = 37;
viewer();
}

function galleri38(){
mainimage = 38;
viewer();
}

function galleri39(){
mainimage = 39;
viewer();
}

function galleri40(){
mainimage = 40;
viewer();
}

function galleri41(){
mainimage = 41;
viewer();
}

function galleri42(){
mainimage = 42;
viewer();
}

function tilbud(){
document.getElementById('da2').innerHTML = '<table><tr><td>&nbsp&nbsp</td><td><br><img src="images/galleri/2b.jpg">' +
'<td>&nbsp&nbsp</td></td><td><p><H1>Tilbud</H1><br><br><b>Påsketilbud !</b><br><br>' +
'Få 5 overnatninger, betal for 4 ved ankomst d. 20/4. med afrejse d. 25/4.<br><br><br><br></p></td></tr></table><br>' ;
}
Avatar billede MadsHaupt Juniormester
26. august 2013 - 11:31 #14
Jeg har set kilde koden og du skal bare ændre scriptet "<script language="JavaScript" type="TEXT/JAVASCRIPT">
res();
</script>" til "<script language="JavaScript" type="TEXT/JAVASCRIPT">
pla();
</script>".
Avatar billede DomiinoDK Nybegynder
26. august 2013 - 20:43 #15
Hvor finder du lige det i teksten?
Avatar billede DomiinoDK Nybegynder
26. august 2013 - 20:46 #16
Ok... jeg fandt teksten i index.html filen, men skærmen bliver bare blå nu... ingen tekst overhovedet... hmmmm
Avatar billede MadsHaupt Juniormester
27. august 2013 - 11:34 #17
Du bliver funktionen pla i hvert fald kaldet ved opstart, men hvad er det for en tekst du snakker om?.

):
Avatar billede DomiinoDK Nybegynder
27. august 2013 - 17:06 #18
Der er jo den jeg linker til ovenover og så er der index.html filen:

<html>
<head>
<title>Lemvig Strand Camping</title>
<link rel="stylesheet" type="text/css" href="lc.css" />
<script src="lcjs.js"></script>
</head>
<body>



<div>

 
<div id="da1"></div>
   
</div>

<script language="JavaScript" type="TEXT/JAVASCRIPT">
java script:res();
</script>



</body>
</html>
Avatar billede MadsHaupt Juniormester
04. september 2013 - 17:04 #19
Er det den tekst der er nede i bunden?.
Avatar billede DomiinoDK Nybegynder
05. september 2013 - 00:04 #20
You tell me? Jeg har bare 3 filer....
Avatar billede MadsHaupt Juniormester
05. september 2013 - 11:36 #21
Kan du ikke lave et billede, hvor du viser hvilken tekst du mener.
Avatar billede DomiinoDK Nybegynder
07. september 2013 - 17:02 #22
Jeg har sat al koden ind her på siden?
Avatar billede MadsHaupt Juniormester
10. september 2013 - 13:04 #23
Jeg vil rigtig gerne hjælpe dig, men jeg er nødt til at vide vilken tekst du mener, før jeg kan hjælpe dig.
Avatar billede DomiinoDK Nybegynder
18. september 2013 - 20:42 #24
Jeg har fra det gamle site 3 filer:

index.html
lcjs.js
lc.css

Så vil jeg bare gerne at når man komme ind på index.html så loader den automatisk "Framen" med pladsen.

Jeg kan evt sende dem på mail, så er det nemmere at se?
Avatar billede MadsHaupt Juniormester
19. september 2013 - 09:17 #25
Min email adresse er madshaupt@live.dk
Avatar billede MadsHaupt Juniormester
19. september 2013 - 14:48 #26
Jeg har rettet i filerne, så burte det virke.
Avatar billede DomiinoDK Nybegynder
19. september 2013 - 20:34 #27
Yes! Nu kører det... takker!
Avatar billede MadsHaupt Juniormester
20. september 2013 - 09:52 #28
svar
Avatar billede DomiinoDK Nybegynder
20. september 2013 - 22:45 #29
Takker... super arbejde!
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester



Seneste spørgsmål Seneste aktivitet
I dag 06:10 Excel åbner fil i kæmpe format Af Aske i Excel
I går 22:00 Datafordeler Af Lsk i PHP
I går 12:37 Summere beløb pr. dato Af TTA i Excel
31/1022:44 Tilslutte chassic fans Af viking69 i PC
31/1020:28 LED lysstofrør Af ErikHg i Fri debat