﻿areaId = 0;
//AreaId is set in master template

var translations = new Array();
  
translations[1] = new Array();
translations[1][0] = "Print page";
translations[1][1] = "Sitemap";
translations[1][2] = "Default.aspx?ID=15"; //Sitemap page link
translations[1][3] = "Search";
translations[1][4] = "Default.aspx?ID=18"; //Search page link
translations[1][5] = "Check out now";
translations[1][6] = "Default.aspx?ID=66"; //Check out page link
translations[1][7] = "/Files/System/trex_uk/grafik/tab_checkoutnow.jpg";
translations[1][8] = "Hear it live";
translations[1][9] = "Default.aspx?ID=5"; // Hear it live page link
translations[1][10] = "/Files/System/trex_uk/grafik/tab_hearitlive.jpg";
translations[1][11] = "See it live";
translations[1][12] = "Default.aspx?ID=6"; // see it live page link
translations[1][13] = "/Files/System/trex_uk/grafik/tab_seeitlive.jpg";
translations[1][14] = "News";
translations[1][15] = "/Files/System/trex_uk/grafik/headline_news.jpg";
translations[1][16] = "More news";
translations[1][17] = "Default.aspx?ID=14"; // News page link
translations[1][18] = "Join our newsletter";
translations[1][19] = "/Files/System/trex_uk/grafik/headline_newsletter.jpg";
translations[1][20] = "Default.aspx?ID=50&m=NewsletterExtended&ParagraphID=10"; // Newsletter page link
translations[1][21] = "Join our newsletter service and get the latest updates from T-REX";
translations[1][22] = "Name";
translations[1][23] = "Email";
translations[1][24] = "Join now";
translations[1][25] = "Rss Feed";
translations[1][26] = "Default.aspx?ID=19&Action=ShowFile"; //Rss feed page link
translations[1][27] = "/Files/System/trex_uk/grafik/rss_feed.jpg";
translations[1][28] = "Get Flash";
translations[1][29] = "Enter keyword";
translations[1][30] = "Search now";
translations[1][31] = "Your seach for";
translations[1][32] = "returned";
translations[1][33] = "hits. Showing page";
translations[1][34] = "of";
translations[1][35] = "Last update";
translations[1][36] = "Your search for";
translations[1][37] = "didn't result in any things";
translations[1][38] = "Who plays this product";
translations[1][39] = "Hear this product";
translations[1][40] = "See this product live";
translations[1][41] = "Share your music";
translations[1][42] = "Send to friend";
translations[1][43] = "See more photos";
translations[1][44] = "Back";
translations[1][45] = "Change currency to DKK";
translations[1][46] = "Change currency to EUR";
translations[1][47] = "Add to cart";
translations[1][48] = "Title";
translations[1][49] = "Quantity";
translations[1][50] = "Price";
translations[1][51] = "Total";
translations[1][52] = "Empty basket";
translations[1][53] = "Checkout";
translations[1][54] = "Delivery Address";
translations[1][55] = "Alternate Address";
translations[1][56] = "Only if different from Delivery Address";
translations[1][57] = "VAT";
translations[1][58] = "Company";
translations[1][59] = "Name";
translations[1][60] = "Address";
translations[1][61] = "Postcode";
translations[1][62] = "City";
translations[1][63] = "Country";
translations[1][64] = "Telephone No";
translations[1][65] = "Fax";
translations[1][66] = "Mobile";
translations[1][67] = "E-mail";
translations[1][68] = "Note";
translations[1][69] = "Continue";
translations[1][70] = "The following error(s) occurred";
translations[1][71] = "The field";
translations[1][72] = "must be fulfilled";
translations[1][73] = "must contain an emailaddress";
translations[1][74] = "must contain a number";
translations[1][75] = "must contain a number between";
translations[1][76] = "and";
translations[1][77] = "Payment total with VAT";
translations[1][78] = "Show basket";
translations[1][79] = "Accept your order";
translations[1][80] = "Payment was cancelled!";
translations[1][81] = "Payment address";
translations[1][82] = "Order information";
translations[1][83] = "Order num.";
translations[1][84] = "Order date";
translations[1][85] = "Customer IP";
translations[1][86] = "Default.aspx?ID=4"; //Competition page link
translations[1][87] = "Read more";
translations[1][88] = "21"; //Front page news list id
translations[1][89] = "Coming<br />products";
translations[1][90] = "T-Rex Users";
translations[1][91] = "Default.aspx?ID=203"; //Coming products page
translations[1][92] = "Default.aspx?ID=3"; //T-rex users page
//translations[1][93] = "";
translations[1][93] = "<a href='/Default.aspx?AreaID=2'><img src='/files/billeder/gfx/de.gif' /></a>"; 


/*       GERMAN       */
translations[2] = new Array();
translations[2][0] = "Seite drucken";
translations[2][1] = "Seitenstruktur";
translations[2][2] = "Default.aspx?ID=184"; //Sitemap page link
translations[2][3] = "Suche";
translations[2][4] = "Default.aspx?ID=185"; //Search page link
translations[2][5] = "Zum Warenkorb";
translations[2][6] = "Default.aspx?ID=158"; //Check out page link
translations[2][7] = "/Files/System/trex_de/grafik/tab_checkoutnow_de.jpg";
translations[2][8] = "Hier gibt's auf die Ohren";
translations[2][9] = "Default.aspx?ID=148"; // Hear it live page link
translations[2][10] = "/Files/System/trex_de/grafik/tab_hearitlive_de.jpg";
translations[2][11] = "Hier gibt's was fürs Auge";
translations[2][12] = "Default.aspx?ID=149"; // see it live page link
translations[2][13] = "/Files/System/trex_de/grafik/tab_seeitlive_de.jpg";
translations[2][14] = "News";
translations[2][15] = "/Files/System/trex_de/grafik/headline_news.jpg";
translations[2][16] = "Mehr news";
translations[2][17] = "Default.aspx?ID=145"; // News page link
translations[2][18] = "Newsletter";
translations[2][19] = "/Files/System/trex_de/grafik/headline_newsletter.jpg";
translations[2][20] = "Default.aspx?ID=169&m=NewsletterExtended&ParagraphID=291"; // Newsletter page link
translations[2][21] = "Melde dich bei unserem Newsletter Service an und bleib auf dem Laufenden";
translations[2][22] = "Name";
translations[2][23] = "Email";
translations[2][24] = "Meld dich an";
translations[2][25] = "Rss Feed";
translations[2][26] = "Default.aspx?ID=183&Action=ShowFile"; //Rss feed page link
translations[2][27] = "/Files/System/trex_uk/grafik/rss_feed.jpg";
translations[2][28] = "Flash Player installieren";
translations[2][29] = "Suchbegriff eingeben";
translations[2][30] = "Suche starten";
translations[2][31] = "Deine Suche nach";
translations[2][32] = "ergab";
translations[2][33] = "Treffer. Seite";
translations[2][34] = "von";
translations[2][35] = "Letzter Eintrag";
translations[2][36] = "Deine Suche nach";
translations[2][37] = "ergab kein Resultat";
translations[2][38] = "Wer spielts";
translations[2][39] = "Hör's dir an";
translations[2][40] = "Schau's dir an";
translations[2][41] = "Share your music";
translations[2][42] = "An einen Freund senden";
translations[2][43] = "Noch mehr Fotos";
translations[2][44] = "Zurück";
translations[2][45] = "Währung umrechnen in Dänische Kronen";
translations[2][46] = "Währung umrechnen in Euro";
translations[2][47] = "Zum Warenkorb hinzufügen";
translations[2][48] = "Produkt";
translations[2][49] = "Menge";
translations[2][50] = "Preis";
translations[2][51] = "Gesamt";
translations[2][52] = "Warenkorb leeren";
translations[2][53] = "Zur Kasse";
translations[2][54] = "Anschrift";
translations[2][55] = "Abweichende Versandanschrift";
translations[2][56] = "Nur bei Abweichung von Rechnungsadresse";
translations[2][57] = "Umsatzsteuer-Identnummer";
translations[2][58] = "Firma";
translations[2][59] = "Name";
translations[2][60] = "Adresse";
translations[2][61] = "Postleitzahl";
translations[2][62] = "Ort";
translations[2][63] = "Land";
translations[2][64] = "Telefonnummer";
translations[2][65] = "Fax";
translations[2][66] = "Mobil";
translations[2][67] = "E-mail";
translations[2][68] = "Bemerkung";
translations[2][69] = "Weiter";
translations[2][70] = "Folgende Fehler traten auf";
translations[2][71] = "Das Feld";
translations[2][72] = "must gefüllt sein";
translations[2][73] = "muss mit einer E-mail Adresse gefüllt sein";
translations[2][74] = "muss eine Zahl beinhalten";
translations[2][75] = "muss eine Zahl beinhalten zwischen";
translations[2][76] = "und";
translations[2][77] = "Zahlungsbetrag inkl. ges. MwSt.";
translations[2][78] = "Warenkorb anzeigen";
translations[2][79] = "Auftrag ausführen";
translations[2][80] = "Zahlung wurde abgebrochen!";
translations[2][81] = "Zahlungsabsender";
translations[2][82] = "Auftragsangaben";
translations[2][83] = "Auftragsnummer";
translations[2][84] = "Auftragsdatum";
translations[2][85] = "Kunden IP";
translations[2][86] = "Default.aspx?ID=146"; //Competition page link
translations[2][87] = "Mehr";
translations[2][88] = "22"; //Front page news list id
translations[2][89] = "Neue<br />produkte";
translations[2][90] = "T-Rex Users";
translations[2][91] = "Default.aspx?ID=119"; //Coming products page
translations[2][92] = "Default.aspx?ID=120"; //T-rex users page
//translations[2][93] = "";
translations[2][93] = "<a href='/Default.aspx?AreaID=1'><img src='/files/billeder/gfx/gb.gif' /></a>"; 

function TranslationText( index ){
  return translations[areaId][index];
}




/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

