if(CurrencyReturnUrl == "http://www.tackleshop.dk/shop/frontpage.html" || CurrencyReturnUrl == "http://tackleshop.dk/shop/frontpage.html")
{
for(i=0;i<document.getElementsByTagName('TD').length;i++){
if(document.getElementsByTagName('TD')[i].className=='Photo3_Frontpage'){
document.getElementsByTagName('TD')[i].parentNode.parentNode.parentNode.setAttribute('id', 'tbls');
}
}
document.getElementById('tbls').style.display='none';

id = document.getElementById('tbls');

obj = id.childNodes;

for( var i = 0; i < obj.length; i++ ) { 

tbl = document.createElement("TABLE");

tbl.width = "500";
tbl.height = "";
tbl.align = "center";
tbl.setAttribute("cellSpacing","0"); 
tbl.setAttribute("cellPadding","0"); 
tbl.border ="0";

tbody = document.createElement("TBODY");
tbl.insertBefore(tbody, null);
obj[i].parentNode.parentNode.insertBefore(tbl, obj[i].parentNode);

tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=0;j<id.getElementsByTagName('TD').length/2;j++) {
if(id.getElementsByTagName('TD')[j].className=='Photo3_Frontpage'){
img = document.createElement("IMG");
img.src = id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.getAttribute('SRC');

td = document.createElement("TD");
td.insertBefore(img, null);
tr.insertBefore(td, null);

td.setAttribute('id',j);
if(td.getAttribute('id')=='0' || td.getAttribute('id')=='1'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; padding: 7px 7px 7px 7px;";
}
if(td.getAttribute('id')=='2'){
td.style.cssText = "padding: 7px 7px 7px 7px;";
}
}
}

tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=0;j<id.getElementsByTagName('TD').length/2;j++) {
if(id.getElementsByTagName('TD')[j].className=='Description_Frontpage'){
Text = document.createTextNode(id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.nodeValue);

td = document.createElement("TD");


td.insertBefore(Text, null);
tr.insertBefore(td, null);
td.setAttribute('id',j);
if(td.getAttribute('id')=='3' || td.getAttribute('id')=='4'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; color: Black; font-weight: normal; padding: 7px 0px 0px 7px;";
}
if(td.getAttribute('id')=='5'){
td.style.cssText = "color: Black; font-weight: normal; padding: 7px 0px 0px 7px;";
}
}
}
tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=0;j<id.getElementsByTagName('TD').length/2;j++) {
if(id.getElementsByTagName('TD')[j].className=='Price_Frontpage'){
Text = document.createTextNode(id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.nodeValue);

td = document.createElement("TD");


td.insertBefore(Text, null);
tr.insertBefore(td, null);

td.setAttribute('id',j);
if(td.getAttribute('id')=='6' || td.getAttribute('id')=='7'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; color: #555555; font-weight: bold; font-size: 8pt; padding: 5px 0px 0px 7px;";
}
if(td.getAttribute('id')=='8'){
td.style.cssText = "color: #555555; font-weight: bold; font-size: 8pt; padding: 5px 0px 0px 7px;";
}
}
}

tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=0;j<id.getElementsByTagName('TD').length/2;j++) {
if(id.getElementsByTagName('TD')[j].className=='Description_Frontpage'){

img = document.createElement("IMG");
img.src = 'http://989457.shop09.dandomain.dk/images/readmore.gif';
img.align='right';
img.border='0';
td = document.createElement("TD");


href = document.createElement("A");
href.setAttribute('href', id.getElementsByTagName('TD')[j].firstChild);

href.appendChild(img);
td.appendChild(href);
td.insertBefore(href, null);
tr.insertBefore(td, null);

td.setAttribute('id',j);
if(td.getAttribute('id')=='3' || td.getAttribute('id')=='4'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; padding: 7px 7px 7px 7px;";
}
if(td.getAttribute('id')=='5'){
td.style.cssText = "padding: 7px 7px 7px 7px;";
}

}
}

//////////////////////////////////


tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=6;j<id.getElementsByTagName('TD').length;j++) {
if(id.getElementsByTagName('TD')[j].className=='Photo3_Frontpage'){
img = document.createElement("IMG");
img.src = id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.getAttribute('SRC');

td = document.createElement("TD");
td.insertBefore(img, null);
tr.insertBefore(td, null);
td.setAttribute('id',j);
if(td.getAttribute('id')=='10' || td.getAttribute('id')=='11'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; border-top-width: 1px; border-top-style: dashed; padding: 7px 7px 7px 7px;";
}
if(td.getAttribute('id')=='12'){
td.style.cssText = "border-top-width: 1px; border-top-style: dashed; padding: 7px 7px 7px 7px;";
}
}
}

tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=6;j<id.getElementsByTagName('TD').length;j++) {
if(id.getElementsByTagName('TD')[j].className=='Description_Frontpage'){
Text = document.createTextNode(id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.nodeValue);
td = document.createElement("TD");
td.insertBefore(Text, null);
tr.insertBefore(td, null);
td.setAttribute('id',j);
if(td.getAttribute('id')=='13' || td.getAttribute('id')=='14'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; color: Black; font-weight: normal; padding: 7px 7px 0px 7px;";
}
if(td.getAttribute('id')=='15'){
td.style.cssText = "color: Black; font-weight: normal; padding: 7px 0px 0px 7px;";
}
}
}

tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=12;j<id.getElementsByTagName('TD').length;j++) {
if(id.getElementsByTagName('TD')[j].className=='Price_Frontpage'){
Text = document.createTextNode(id.getElementsByTagName('TD')[j].childNodes[i].firstChild.firstChild.nodeValue);
td = document.createElement("TD");
td.insertBefore(Text, null);
tr.insertBefore(td, null);
td.setAttribute('id',j);
if(td.getAttribute('id')=='16' || td.getAttribute('id')=='17'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; color: #555555; font-weight: bold; font-size: 8pt; padding: 5px 0px 0px 7px;";
}
if(td.getAttribute('id')=='18'){
td.style.cssText = "color: #555555; font-weight: bold; font-size: 8pt; padding: 5px 0px 0px 7px;";
}
}
}
tr = document.createElement("TR");
tbody.insertBefore(tr, null);

for(j=6;j<id.getElementsByTagName('TD').length;j++) {
if(id.getElementsByTagName('TD')[j].className=='Description_Frontpage'){

img = document.createElement("IMG");
img.src = 'http://989457.shop09.dandomain.dk/images/readmore.gif';
img.align='right';
img.border='0';
td = document.createElement("TD");


href = document.createElement("A");
href.setAttribute('href', id.getElementsByTagName('TD')[j].firstChild);

href.appendChild(img);
td.appendChild(href);
td.insertBefore(href, null);
tr.insertBefore(td, null);

td.setAttribute('id',j);
if(td.getAttribute('id')=='13' || td.getAttribute('id')=='14'){
td.style.cssText = "border-right-width: 1px; border-right-style: dashed; padding: 7px 7px 0px 7px;";
}
if(td.getAttribute('id')=='15'){
td.style.cssText = "padding: 7px 7px 0px 7px;";
}
}
}
}
}