var link = "<img style='vertical-align:bottom;padding:0 0 0 3px;' src='/admin/common/GetImg.asp?FileID=";
var tekst = "' alt='' title='"
var slutt = "' />"
var sp_start ="<span style='position:relative;bottom:1px;font-size:11pt;vertical-align:bottom;cursor:default;'>"
var sp_end = "</span>"
var iref = ""
var iend = ""
var bref = ""
var bend = ""
var xref = ""
var xend = ""
var icon
var kinf

function klasse(icon) {
     if (icon.match('KL1')) { klasse = "5761"; kinf="Klasse 1 Jordet - Krever jordet tilkobling"; }
else if (icon.match('KL2')) { klasse = "5762"; kinf="Klasse 2 Dobbeltisolert - trenger ikke jordet tilkobling"; }
else if (icon.match('KL3')) { klasse = "5704"; kinf="Klasse 3 Lavvolt"; }
   else {klasse = "" }
     if (klasse == "") {return "" }
   else {return link+klasse+tekst+kinf+slutt }
}

function ip(icon) {
     if (icon.match('IP20')) { ip = "5764"; iinf="Tetningsgrad/Kapslingsgrad: IP20 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP21')) { ip = "5765"; iinf="Tetningsgrad/Kapslingsgrad: IP21 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP23')) { ip = "5766"; iinf="Tetningsgrad/Kapslingsgrad: IP23 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP33')) { ip = "5767"; iinf="Tetningsgrad/Kapslingsgrad: IP33 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP34')) { ip = "6567"; iinf="Tetningsgrad/Kapslingsgrad: IP34 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP40')) { ip = "5768"; iinf="Tetningsgrad/Kapslingsgrad: IP40 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP43')) { ip = "5769"; iinf="Tetningsgrad/Kapslingsgrad: IP43 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP44')) { ip = "5727"; iinf="Tetningsgrad/Kapslingsgrad: IP44 - Les mer..."; iref="<a href='/default.asp?ItemID=2049'>" ; iend="</a>"; }
else if (icon.match('IP54')) { ip = "5770"; iinf="Tetningsgrad/Kapslingsgrad: IP54 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
else if (icon.match('IP55')) { ip = "5771"; iinf="Tetningsgrad/Kapslingsgrad: IP55 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
else if (icon.match('IP65')) { ip = "5772"; iinf="Tetningsgrad/Kapslingsgrad: IP65 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
else if (icon.match('IP66')) { ip = "8925"; iinf="Tetningsgrad/Kapslingsgrad: IP66 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
else if (icon.match('IP67')) { ip = "5773"; iinf="Tetningsgrad/Kapslingsgrad: IP67 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
else if (icon.match('IP68')) { ip = "8926"; iinf="Tetningsgrad/Kapslingsgrad: IP68 - Les mer..."; iref="<a href='/default.asp?ItemID=2049#IP'>" ; iend="</a>"; }
   else {ip = "" }
     if (ip == "") { return "" }
   else {return iref+link+ip+tekst+iinf+slutt+iend }
}

function volt(icon) {
     if (icon.match('-LEDC'))    { volt = ""; vinf=""; base = ""; binf=""; }
else if (icon.match('-LEDR'))    { volt = ""; vinf=""; base = ""; binf=""; }
else if (icon.match('-12V'))     { volt = "5724"; vinf="12V - Lavvolt"; base = ""; binf=""; }
else if (icon.match('-230V'))    { volt = "5725"; vinf="230V - Nettspenning"; base = ""; binf=""; }
else if (icon.match('-2G11'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6022"; bref="<a href='/default.asp?ItemID=3379'>"; bend="</a>"; binf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr - Følg denne linken til lyskilden."; }
else if (icon.match('-2GX13'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "7538"; binf="2GX13 - Kompaktlysrør"; }
else if (icon.match('-E14M'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6025"; binf="E14 Spesial - Liten sokkel"; }
else if (icon.match('-E14P'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6026"; bref="<a href='/default.asp?ItemID=3346'>"; bend="</a>"; binf="E14 Illum - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E14-'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6023"; bref="<a href='/default.asp?ItemID=3345'>"; bend="</a>"; binf="E14 Mignon - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E14E'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6024"; bref="<a href='/default.asp?ItemID=3375'>"; bend="</a>"; binf="E14 Energisparepære - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E14R39'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6544"; bref="<a href='/default.asp?ItemID=3348'>"; bend="</a>"; binf="E14 Concentra R39 Spot - Liten sokkel"; }
else if (icon.match('-E14R50'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6545"; bref="<a href='/default.asp?ItemID=3847'>"; bend="</a>"; binf="E14 Concentra R50 Spot - Liten sokkel"; }
else if (icon.match('-E14HAL'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6549"; binf="E14 HALOLUX - Liten sokkel"; }
else if (icon.match('-E14SILV')) { volt = "5725"; vinf="230V - Nettspenning"; base = "7539"; binf="E14 Toppforspeilet - Liten sokkel"; }
else if (icon.match('-E27-'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6027"; bref="<a href='/default.asp?ItemID=3366'>"; bend="</a>"; binf="E27 Classic A - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E27P20'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6029"; bref="<a href='/default.asp?ItemID=3373'>"; bend="</a>"; binf="E27 Par 20 Spot - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E27P30'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6030"; binf="E27 Par 30 Spot - Stor sokkel"; }
else if (icon.match('-E27P38'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6031"; bref="<a href='/default.asp?ItemID=3758'>"; bend="</a>"; binf="E27 Par 38 Spot - Stor sokkel"; }
else if (icon.match('-E27E'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6028"; bref="<a href='/default.asp?ItemID=3226'>"; bend="</a>"; binf="E27 Energisparepære - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E27HME'))  { volt = ""; vinf=""; base = ""; binf=""; }
else if (icon.match('-E27HSE'))  { volt = ""; vinf=""; base = ""; binf=""; }
else if (icon.match('-E27HAL'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6543"; bref="<a href='/default.asp?ItemID=3359'>"; bend="</a>"; binf="E27 Halogenlampe - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('-E27R63'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6546"; bref="<a href='/default.asp?ItemID=3349'>"; bend="</a>"; binf="E27 Concentra R63 Spot - Stor sokkel"; }
else if (icon.match('-G10Q'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "7540"; binf="G10Q - Kompaktlysrør"; }
else if (icon.match('-G12HIT'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6035"; binf="G12 High intensity discharge (HID)"; }
else if (icon.match('-G13'))     { volt = "5725"; vinf="230V - Nettspenning"; base = "6036"; binf="Lysstoffrør G13-sokkel"; }
else if (icon.match('-G23'))     { volt = "5725"; vinf="230V - Nettspenning"; base = "6037"; bref="<a href='/default.asp?ItemID=3356'>"; bend="</a>"; binf="Kompaktlysrør - Kan ikke lysreguleres/dimmes - Følg denne linken til lyskilden."; }
else if (icon.match('-G24D'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6038"; bref="<a href='/default.asp?ItemID=3353'>"; bend="</a>"; binf="Kompaktlysrør - Kan ikke lysreguleres/dimmes - Følg denne linken til lyskilden."; }
else if (icon.match('-G24Q'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6039"; binf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr"; }
else if (icon.match('-GX24Q'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6200"; bref="<a href='/default.asp?ItemID=3357'>"; bend="</a>"; binf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr - Følg denne linken til lyskilden."; }
else if (icon.match('-G4'))      { volt = "5724"; vinf="12V - Lavvolt";       base = "6032"; bref="<a href='/default.asp?ItemID=3364'>"; bend="</a>"; binf="G4 Lavvolt Halogenpære - Følg denne linken til lyskilden."; }
else if (icon.match('-G53'))     { volt = "5724"; vinf="12V - Lavvolt";       base = "6040"; bref="<a href='/default.asp?ItemID=3363'>"; bend="</a>"; binf="G53 Lavvolt Halogen - Følg denne linken til lyskilden."; }
else if (icon.match('-G5-'))     { volt = "5725"; vinf="230V - Nettspenning"; base = "6033"; binf="Lysstoffrør G5-sokkel"; }
else if (icon.match('-G9'))      { volt = "5725"; vinf="230V - Nettspenning"; base = "6034"; bref="<a href='/default.asp?ItemID=3362'>"; bend="</a>"; binf="G9 Halogenpære for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-GU10-'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6043"; bref="<a href='/default.asp?ItemID=3361'>"; bend="</a>"; binf="GU10 Halogenspot for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-GU10E'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6043"; bref="<a href='/default.asp?ItemID=3377'>"; bend="</a>"; binf="GU10 Sparepære for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-GU10L'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6043"; bref="<a href='/default.asp?ItemID=3380'>"; bend="</a>"; binf="GU10 LED-spot for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-GU10M'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6131"; bref="<a href='/default.asp?ItemID=3371'>"; bend="</a>"; binf="GU10 Mini Halogenspot for nettspenning - Ø:35mm - Følg denne linken til lyskilden."; }
else if (icon.match('-GU4'))     { volt = "5724"; vinf="12V - Lavvolt";       base = "6041"; bref="<a href='/default.asp?ItemID=3350'>"; bend="</a>"; binf="GU4 Lavvolt Halogenspot - Følg denne linken til lyskilden."; }
else if (icon.match('-GU5,3'))   { volt = "5724"; vinf="12V - Lavvolt";       base = "6042"; bref="<a href='/default.asp?ItemID=3352'>"; bend="</a>"; binf="GU5,3 Lavvolt Halogenspot - Følg denne linken til lyskilden."; }
else if (icon.match('-GX53'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6044"; bref="<a href='/default.asp?ItemID=3376'>"; bend="</a>"; binf="GX53 Energisparepære for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-GY4'))     { volt = "5724"; vinf="12V - Lavvolt";       base = "7683"; bref="<a href='/default.asp?ItemID=3848'>"; bend="</a>"; binf="GY4 Lavvolt Halogenspot"; }
else if (icon.match('-GY5,3'))   { volt = "5724"; vinf="12V - Lavvolt";       base = "7547"; binf="GY5,3 Lavvolt Halogenspot"; }
else if (icon.match('-GY6,35-')) { volt = "5724"; vinf="12V - Lavvolt";       base = "6045"; bref="<a href='/default.asp?ItemID=3365'>"; bend="</a>"; binf="GY6,35 Lavvolt Halogenpære - Følg denne linken til lyskilden."; }
else if (icon.match('-GY6,35M')) { volt = "5724"; vinf="12V - Lavvolt";       base = "6046"; bref="<a href='/default.asp?ItemID=3372'>"; bend="</a>"; binf="GY6,35 Lavvolt Halogenpære med reflektor - Følg denne linken til lyskilden."; }
else if (icon.match('-R7S78'))   { volt = "5725"; vinf="230V - Nettspenning"; base = "6047"; bref="<a href='/default.asp?ItemID=3358'>"; bend="</a>"; binf="R7s 78mm Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-R7S118'))  { volt = "5725"; vinf="230V - Nettspenning"; base = "6047"; bref="<a href='/default.asp?ItemID=3575'>"; bend="</a>"; binf="R7s 118mm Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-R7S'))     { volt = "5725"; vinf="230V - Nettspenning"; base = "6047"; bref="<a href='/default.asp?ItemID=3358'>"; bend="</a>"; binf="R7s Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('-S14S'))    { volt = "5725"; vinf="230V - Nettspenning"; base = "6048"; bref="<a href='/default.asp?ItemID=3379'>"; bend="</a>"; binf="S14s Lysrør for nettspenning - Følg denne linken til lyskilden."; }
   else {volt = ""; base = "" }
     if (volt == "") { return "" }
   else {return link+volt+tekst+vinf+slutt }
}

function sokkel(icon) {
     if ( base == "" ) { return "" }
   else { return bref+link+base+tekst+binf+slutt+bend }
}

function xbase(icon) {
     if (icon.match('xLEDC'))    { xbase = ""; xinf=""; }
else if (icon.match('xLEDR'))    { xbase = ""; xinf=""; }
else if (icon.match('x2G11'))    { xbase = "6022"; bref="<a href='/default.asp?ItemID=3379'>"; xend="</a>"; xinf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr - Følg denne linken til lyskilden."; }
else if (icon.match('xE14M'))    { xbase = "6025"; xinf="E14 Spesial - Liten sokkel"; }
else if (icon.match('xE14P'))    { xbase = "6026"; xref="<a href='/default.asp?ItemID=3346'>"; xend="</a>"; xinf="E14 Illum - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE14-'))    { xbase = "6023"; xref="<a href='/default.asp?ItemID=3345'>"; xend="</a>"; xinf="E14 Mignon - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE14E'))    { xbase = "6024"; xref="<a href='/default.asp?ItemID=3375'>"; xend="</a>"; xinf="E14 Energisparepære - Liten sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE14R39'))  { xbase = "6544"; xinf="E14 Concentra R39 Spot - Liten sokkel"; }
else if (icon.match('xE14R50'))  { xbase = "6545"; xinf="E14 Concentra R50 Spot - Liten sokkel"; }
else if (icon.match('xE14HAL'))  { xbase = "6549"; xinf="E14 HALOLUX - Liten sokkel"; }
else if (icon.match('xE27-'))    { xbase = "6027"; xref="<a href='/default.asp?ItemID=3366'>"; xend="</a>"; xinf="E27 Classic A - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE27P20'))  { xbase = "6029"; xref="<a href='/default.asp?ItemID=3373'>"; xend="</a>"; xinf="E27 Par 20 Spot - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE27P30'))  { xbase = "6030"; xinf="E27 Par 30 Spot - Stor sokkel"; }
else if (icon.match('xE27P38'))  { xbase = "6031"; xinf="E27 Par 38 Spot - Stor sokkel"; }
else if (icon.match('xE27E'))    { xbase = "6028"; xref="<a href='/default.asp?ItemID=3226'>"; xend="</a>"; xinf="E27 Energisparepære - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE27HME'))  { xbase = ""; xinf=""; }
else if (icon.match('xE27HSE'))  { xbase = ""; xinf=""; }
else if (icon.match('xE27HAL'))  { xbase = "6543"; xref="<a href='/default.asp?ItemID=3359'>"; xend="</a>"; xinf="E27 Halogenlampe - Stor sokkel - Følg denne linken til lyskilden."; }
else if (icon.match('xE27R63'))  { xbase = "6546"; xinf="E27 Concentra R63 Spot - Stor sokkel"; }
else if (icon.match('xG12HIT'))  { xbase = "6035"; xinf="G12 High intensity discharge (HID)"; }
else if (icon.match('xG13'))     { xbase = "6036"; xinf="Lysstoffrør G13-sokkel"; }
else if (icon.match('xG23'))     { xbase = "6037"; xref="<a href='/default.asp?ItemID=3356'>"; xend="</a>"; xinf="Kompaktlysrør - Kan ikke lysreguleres/dimmes - Følg denne linken til lyskilden."; }
else if (icon.match('xG24D'))    { xbase = "6038"; xref="<a href='/default.asp?ItemID=3353'>"; xend="</a>"; xinf="Kompaktlysrør - Kan ikke lysreguleres/dimmes - Følg denne linken til lyskilden."; }
else if (icon.match('xG24Q'))    { xbase = "6039"; xinf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr"; }
else if (icon.match('xGX24Q'))   { xbase = "6200"; xref="<a href='/default.asp?ItemID=3357'>"; xend="</a>"; xinf="Kompaktlysrør - Kan lysreguleres/dimmes med riktig forkoblingsutstyr - Følg denne linken til lyskilden."; }
else if (icon.match('xG4'))      { xbase = "6032"; xref="<a href='/default.asp?ItemID=3364'>"; xend="</a>"; xinf="G4 Lavvolt Halogenpære - Følg denne linken til lyskilden."; }
else if (icon.match('xG53'))     { xbase = "6040"; xref="<a href='/default.asp?ItemID=3363'>"; xend="</a>"; xinf="G53 Lavvolt Halogen - Følg denne linken til lyskilden."; }
else if (icon.match('xG5-'))     { xbase = "6033"; xinf="Lysstoffrør G5-sokkel"; }
else if (icon.match('xG9'))      { xbase = "6034"; xref="<a href='/default.asp?ItemID=3362'>"; xend="</a>"; xinf="G9 Halogenpære for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xGU10-'))   { xbase = "6043"; xref="<a href='/default.asp?ItemID=3361'>"; xend="</a>"; xinf="GU10 Halogenspot for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xGU10L'))   { xbase = "6043"; xref="<a href='/default.asp?ItemID=3380'>"; xend="</a>"; xinf="GU10 LED-spot for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xGU10M'))   { xbase = "6131"; xref="<a href='/default.asp?ItemID=3371'>"; xend="</a>"; xinf="GU10 Mini Halogenspot for nettspenning - Ø:35mm - Følg denne linken til lyskilden."; }
else if (icon.match('xGU4'))     { xbase = "6041"; xref="<a href='/default.asp?ItemID=3350'>"; xend="</a>"; xinf="GU4 Lavvolt Halogenspot - Følg denne linken til lyskilden."; }
else if (icon.match('xGU5,3'))   { xbase = "6042"; xref="<a href='/default.asp?ItemID=3352'>"; xend="</a>"; xinf="GU5,3 Lavvolt Halogenspot - Følg denne linken til lyskilden."; }
else if (icon.match('xGX53'))    { xbase = "6044"; xref="<a href='/default.asp?ItemID=3376'>"; xend="</a>"; xinf="GX53 Energisparepære for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xGY6,35-')) { xbase = "6045"; xref="<a href='/default.asp?ItemID=3365'>"; xend="</a>"; xinf="GY6,35 Lavvolt Halogenpære - Følg denne linken til lyskilden."; }
else if (icon.match('xGY6,35M')) { xbase = "6046"; xref="<a href='/default.asp?ItemID=3372'>"; xend="</a>"; xinf="GY6,35 Lavvolt Halogenpære med reflektor - Følg denne linken til lyskilden."; }
else if (icon.match('xR7S78'))   { xbase = "6047"; xref="<a href='/default.asp?ItemID=3358'>"; xend="</a>"; xinf="R7s 78mm Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xR7S118'))  { xbase = "6047"; xref="<a href='/default.asp?ItemID=3575'>"; xend="</a>"; xinf="R7s 118mm Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xR7S'))     { xbase = "6047"; xref="<a href='/default.asp?ItemID=3358'>"; xend="</a>"; xinf="R7s Halogenrør for nettspenning - Følg denne linken til lyskilden."; }
else if (icon.match('xS14S'))    { xbase = "6048"; xref="<a href='/default.asp?ItemID=3379'>"; xend="</a>"; xinf="S14s Lysrør for nettspenning - Følg denne linken til lyskilden."; }
   else {xbase = "" }
     if (xbase == "") { return "" }
   else {og = "<span style='vertical-align:bottom;padding:0 0 0 8px;cursor:default;'>&amp;</span>"; xbase = og+xref+link+xbase+tekst+xinf+slutt+xend; return xbase; }
}

function nrof(icon) {
     if (icon.match('-X30')) { nrof = "x 30"; }
else if (icon.match('-X3'))  { nrof = "x 3" ; }
else if (icon.match('-X48')) { nrof = "x 48"; }
else if (icon.match('-X4'))  { nrof = "x 4" ; }
else if (icon.match('-X5'))  { nrof = "x 5" ; }
else if (icon.match('-X60')) { nrof = "x 60"; }
else if (icon.match('-X6'))  { nrof = "x 6" ; }
else if (icon.match('-X7'))  { nrof = "x 7" ; }
else if (icon.match('-X8'))  { nrof = "x 8" ; }
else if (icon.match('-X9'))  { nrof = "x 9" ; }
else if (icon.match('-X10')) { nrof = "x 10"; }
else if (icon.match('-X11')) { nrof = "x 11"; }
else if (icon.match('-X12')) { nrof = "x 12"; }
else if (icon.match('-X13')) { nrof = "x 13"; }
else if (icon.match('-X14')) { nrof = "x 14"; }
else if (icon.match('-X15')) { nrof = "x 15"; }
else if (icon.match('-X16')) { nrof = "x 16"; }
else if (icon.match('-X17')) { nrof = "x 17"; }
else if (icon.match('-X18')) { nrof = "x 18"; }
else if (icon.match('-X19')) { nrof = "x 19"; }
else if (icon.match('-X20')) { nrof = "x 20"; }
else if (icon.match('-X21')) { nrof = "x 21"; }
else if (icon.match('-X22')) { nrof = "x 22"; }
else if (icon.match('-X23')) { nrof = "x 23"; }
else if (icon.match('-X24')) { nrof = "x 24"; }
else if (icon.match('-X25')) { nrof = "x 25"; }
else if (icon.match('-X26')) { nrof = "x 26"; }
else if (icon.match('-X27')) { nrof = "x 27"; }
else if (icon.match('-X28')) { nrof = "x 28"; }
else if (icon.match('-X29')) { nrof = "x 29"; }
else if (icon.match('-X2'))  { nrof = "x 2" ; }
   else {nrof = ""}
     if (nrof == "") { return "" }
   else { return sp_start+nrof+sp_end }
}

function twatt(icon) {
     if (icon.match('-0,1W')) { twatt = "0,1W"; }
else if (icon.match('-0,2W')) { twatt = "0,2W"; }
else if (icon.match('-0,3W')) { twatt = "0,3W"; }
else if (icon.match('-0,4W')) { twatt = "0,4W"; }
else if (icon.match('-0,5W')) { twatt = "0,5W"; }
else if (icon.match('-0,6W')) { twatt = "0,6W"; }
else if (icon.match('-0,7W')) { twatt = "0,7W"; }
else if (icon.match('-0,8W')) { twatt = "0,8W"; }
else if (icon.match('-0,9W')) { twatt = "0,9W"; }
else if (icon.match('-1,0W')) { twatt = "1,0W"; }
else if (icon.match('-1,1W')) { twatt = "1,1W"; }
else if (icon.match('-1,2W')) { twatt = "1,2W"; }
else if (icon.match('-1,3W')) { twatt = "1,3W"; }
else if (icon.match('-1,4W')) { twatt = "1,4W"; }
else if (icon.match('-1,5W')) { twatt = "1,5W"; }
else if (icon.match('-1,6W')) { twatt = "1,6W"; }
else if (icon.match('-1,7W')) { twatt = "1,7W"; }
else if (icon.match('-1,8W')) { twatt = "1,8W"; }
else if (icon.match('-1,9W')) { twatt = "1,9W"; }
else if (icon.match('-2,0W')) { twatt = "2,0W"; }
   else {twatt = ""}
     if (twatt == "") { return "" }
   else { return sp_start+twatt+sp_end }
}

function watt(icon) {
     if (icon.match('-5W'))   { watt = "5728"; winf="Benytt max 5 watts lyskilde"; }
else if (icon.match('-6W'))   { watt = "5729"; winf="Benytt max 6 watts lyskilde"; }
else if (icon.match('-7W'))   { watt = "5730"; winf="Benytt max 7 watts lyskilde"; }
else if (icon.match('-8W'))   { watt = "5731"; winf="Benytt max 8 watts lyskilde"; }
else if (icon.match('-9W'))   { watt = "5732"; winf="Benytt max 9 watts lyskilde"; }
else if (icon.match('-10W'))  { watt = "5733"; winf="Benytt max 10 watts lyskilde"; }
else if (icon.match('-11W'))  { watt = "5734"; winf="Benytt max 11 watts lyskilde"; }
else if (icon.match('-13W'))  { watt = "5736"; winf="Benytt max 13 watts lyskilde"; }
else if (icon.match('-14W'))  { watt = "5737"; winf="Benytt max 14 watts lyskilde"; }
else if (icon.match('-15W'))  { watt = "5738"; winf="Benytt max 15 watts lyskilde"; }
else if (icon.match('-16W'))  { watt = "5739"; winf="Benytt max 16 watts lyskilde"; }
else if (icon.match('-18W'))  { watt = "5740"; winf="Benytt max 18 watts lyskilde"; }
else if (icon.match('-20W'))  { watt = "5726"; winf="Benytt max 20 watts lyskilde"; }
else if (icon.match('-21W'))  { watt = "5742"; winf="Benytt max 21 watts lyskilde"; }
else if (icon.match('-22W'))  { watt = "5743"; winf="Benytt max 22 watts lyskilde"; }
else if (icon.match('-23W'))  { watt = "5744"; winf="Benytt max 23 watts lyskilde"; }
else if (icon.match('-24W'))  { watt = "5745"; winf="Benytt max 24 watts lyskilde"; }
else if (icon.match('-25W'))  { watt = "5746"; winf="Benytt max 25 watts lyskilde"; }
else if (icon.match('-26W'))  { watt = "5747"; winf="Benytt max 26 watts lyskilde"; }
else if (icon.match('-30W'))  { watt = "5748"; winf="Benytt max 30 watts lyskilde"; }
else if (icon.match('-35W'))  { watt = "5749"; winf="Benytt max 35 watts lyskilde"; }
else if (icon.match('-36W'))  { watt = "5750"; winf="Benytt max 36 watts lyskilde"; }
else if (icon.match('-40W'))  { watt = "5751"; winf="Benytt max 40 watts lyskilde"; }
else if (icon.match('-42W'))  { watt = "6196"; winf="Benytt max 42 watts lyskilde"; }
else if (icon.match('-50W'))  { watt = "5752"; winf="Benytt max 50 watts lyskilde"; }
else if (icon.match('-55W'))  { watt = "5753"; winf="Benytt max 55 watts lyskilde"; }
else if (icon.match('-60W'))  { watt = "5754"; winf="Benytt max 60 watts lyskilde"; }
else if (icon.match('-75W'))  { watt = "5755"; winf="Benytt max 75 watts lyskilde"; }
else if (icon.match('-80W'))  { watt = "7684"; winf="Benytt max 80 watts lyskilde"; }
else if (icon.match('-100W')) { watt = "5756"; winf="Benytt max 100 watts lyskilde"; }
else if (icon.match('-120W')) { watt = "7685"; winf="Benytt max 120 watts lyskilde"; }
else if (icon.match('-150W')) { watt = "5757"; winf="Benytt max 150 watts lyskilde"; }
else if (icon.match('-200W')) { watt = "5758"; winf="Benytt max 200 watts lyskilde"; }
else if (icon.match('-250W')) { watt = "5759"; winf="Benytt max 250 watts lyskilde"; }
else if (icon.match('-300W')) { watt = "5760"; winf="Benytt max 300 watts lyskilde"; }
else if (icon.match('-500W')) { watt = "6197"; winf="Benytt max 500 watts lyskilde"; }
   else {watt = ""}
     if ( watt == "") { return "" }
   else { return link+watt+tekst+winf+slutt }
}

function xwatt(icon) {    
     if (icon.match('x5W'))   { xwatt = "5728"; xwinf="Benytt max 5 watts lyskilde"; }
else if (icon.match('x6W'))   { xwatt = "5729"; xwinf="Benytt max 6 watts lyskilde"; }
else if (icon.match('x7W'))   { xwatt = "5730"; xwinf="Benytt max 7 watts lyskilde"; }
else if (icon.match('x8W'))   { xwatt = "5731"; xwinf="Benytt max 8 watts lyskilde"; }
else if (icon.match('x9W'))   { xwatt = "5732"; xwinf="Benytt max 9 watts lyskilde"; }
else if (icon.match('x10W'))  { xwatt = "5733"; xwinf="Benytt max 10 watts lyskilde"; }
else if (icon.match('x11W'))  { xwatt = "5734"; xwinf="Benytt max 11 watts lyskilde"; }
else if (icon.match('x13W'))  { xwatt = "5736"; xwinf="Benytt max 13 watts lyskilde"; }
else if (icon.match('x14W'))  { xwatt = "5737"; xwinf="Benytt max 14 watts lyskilde"; }
else if (icon.match('x15W'))  { xwatt = "5738"; xwinf="Benytt max 15 watts lyskilde"; }
else if (icon.match('x16W'))  { xwatt = "5739"; xwinf="Benytt max 16 watts lyskilde"; }
else if (icon.match('x18W'))  { xwatt = "5740"; xwinf="Benytt max 18 watts lyskilde"; }
else if (icon.match('x20W'))  { xwatt = "5726"; xwinf="Benytt max 20 watts lyskilde"; }
else if (icon.match('x21W'))  { xwatt = "5742"; xwinf="Benytt max 21 watts lyskilde"; }
else if (icon.match('x22W'))  { xwatt = "5743"; xwinf="Benytt max 22 watts lyskilde"; }
else if (icon.match('x23W'))  { xwatt = "5744"; xwinf="Benytt max 23 watts lyskilde"; }
else if (icon.match('x24W'))  { xwatt = "5745"; xwinf="Benytt max 24 watts lyskilde"; }
else if (icon.match('x25W'))  { xwatt = "5746"; xwinf="Benytt max 25 watts lyskilde"; }
else if (icon.match('x26W'))  { xwatt = "5747"; xwinf="Benytt max 26 watts lyskilde"; }
else if (icon.match('x30W'))  { xwatt = "5748"; xwinf="Benytt max 30 watts lyskilde"; }
else if (icon.match('x35W'))  { xwatt = "5749"; xwinf="Benytt max 35 watts lyskilde"; }
else if (icon.match('x36W'))  { xwatt = "5750"; xwinf="Benytt max 36 watts lyskilde"; }
else if (icon.match('x40W'))  { xwatt = "5751"; xwinf="Benytt max 40 watts lyskilde"; }
else if (icon.match('x50W'))  { xwatt = "5752"; xwinf="Benytt max 50 watts lyskilde"; }
else if (icon.match('x55W'))  { xwatt = "5753"; xwinf="Benytt max 55 watts lyskilde"; }
else if (icon.match('x60W'))  { xwatt = "5754"; xwinf="Benytt max 60 watts lyskilde"; }
else if (icon.match('x75W'))  { xwatt = "5755"; xwinf="Benytt max 75 watts lyskilde"; }
else if (icon.match('x100W')) { xwatt = "5756"; xwinf="Benytt max 100 watts lyskilde"; }
else if (icon.match('x150W')) { xwatt = "5757"; xwinf="Benytt max 150 watts lyskilde"; }
else if (icon.match('x200W')) { xwatt = "5758"; xwinf="Benytt max 200 watts lyskilde"; }
else if (icon.match('x250W')) { xwatt = "5759"; xwinf="Benytt max 250 watts lyskilde"; }
else if (icon.match('x300W')) { xwatt = "5760"; xwinf="Benytt max 300 watts lyskilde"; }
   else {xwatt = ""}
     if (xwatt == "") { return "" }
   else { return link+xwatt+tekst+xwinf+slutt }

}

function dist(icon) {
     if (icon.match('MA30')) { dist = "6018"; dinf="Minste avstand i lysretning til brennbart materiale er 30 cm"; }
else if (icon.match('MA50')) { dist = "6019"; dinf="Minste avstand i lysretning til brennbart materiale er 50 cm"; }
   else {dist = ""}
     if (dist == "") { return "" }
   else { return link+dist+tekst+dinf+slutt }
}

function dim(icon) {
     if (icon.match('DIMJ')) { dim = "5802"; dnf="Kan dimmes/lysreguleres"; }
else if (icon.match('DIMN')) { dim = "5803"; dnf="Kan ikke dimmes/lysreguleres"; }
else if (icon.match('DIMT')) { dim = "6020"; dnf="Dimmes/lysreguleres ved berøring (Touch)"; }
   else {dim = ""}
     if (dim == "") { return "" }
   else { return link+dim+tekst+dnf+slutt }
}

function led(icon) {
     if (icon.match('-LED')) { led = "5763"; linf="LED - Light Emitting Diode"; }
   else {led = ""}
     if (led == "") { return "" }
   else { return link+led+tekst+linf+slutt }
}

function sft(icon) {
     if (icon.match('REN')) { sft = "6215"; sfti="Skal av miljøhensyn leveres som farlig avfall."; }
   else {sft = ""}
     if (sft == "") { return "" }
   else { return link+sft+tekst+sfti+slutt }
}