var catArray = new Array(42); catArray[0] = Array(10, 1, '0-6 months', 'Shop by Age'); catArray[1] = Array(4, 1, '6-12 months', 'Shop by Age'); catArray[2] = Array(5, 1, '12-18 months', 'Shop by Age'); catArray[3] = Array(9, 1, '18-24 months', 'Shop by Age'); catArray[4] = Array(15, 1, '2-3 Years', 'Shop by Age'); catArray[5] = Array(11, 2, 'Lille Barn', 'Our Brands'); catArray[6] = Array(12, 2, 'No Added Sugar', 'Our Brands'); catArray[7] = Array(13, 2, 'Kik*Kid', 'Our Brands'); catArray[8] = Array(14, 2, 'Katvig', 'Our Brands'); catArray[9] = Array(46, 2, 'Mini A Ture', 'Our Brands'); catArray[10] = Array(47, 2, 'ej sikke lej', 'Our Brands'); catArray[11] = Array(3, 3, 'Organic', 'Organic'); catArray[12] = Array(6, 6, 'Accessories', 'Accessories'); catArray[13] = Array(7, 7, 'Toys', 'Toys'); catArray[14] = Array(8, 8, 'Gifts', 'Gifts'); catArray[15] = Array(26, 18, 'all in one', 'Garment'); catArray[16] = Array(27, 18, 'Body', 'Garment'); catArray[17] = Array(28, 18, 'Long sleeve T shirt', 'Garment'); catArray[18] = Array(29, 18, 'Cardigan', 'Garment'); catArray[19] = Array(31, 18, 'Jumper', 'Garment'); catArray[20] = Array(33, 18, 'Top', 'Garment'); catArray[21] = Array(34, 18, 'shirt', 'Garment'); catArray[22] = Array(32, 18, 'dress', 'Garment'); catArray[23] = Array(37, 18, 'leggings', 'Garment'); catArray[24] = Array(38, 18, 'trousers', 'Garment'); catArray[25] = Array(39, 18, 'outwear', 'Garment'); catArray[26] = Array(40, 18, 'hat', 'Garment'); catArray[27] = Array(41, 18, 'Scarf', 'Garment'); catArray[28] = Array(42, 18, 'Mittens', 'Garment'); catArray[29] = Array(43, 18, 'Tights', 'Garment'); catArray[30] = Array(44, 18, 'socks', 'Garment'); catArray[31] = Array(45, 18, 'bibs', 'Garment'); catArray[32] = Array(51, 50, '0-6 Months', 'Sale Items'); catArray[33] = Array(59, 50, '6-12 months', 'Sale Items'); catArray[34] = Array(60, 50, '12-18 months', 'Sale Items'); catArray[35] = Array(61, 50, '18-24 months', 'Sale Items'); catArray[36] = Array(62, 50, '2-3 years', 'Sale Items'); catArray[37] = Array(52, 52, 'Baby Grows', 'Baby Grows'); catArray[38] = Array(54, 53, 'Katvig', 'AW07'); catArray[39] = Array(55, 53, 'Mini A Ture', 'AW07'); catArray[40] = Array(56, 53, 'Lille Barn', 'AW07'); catArray[41] = Array(58, 53, 'Kik Kid', 'AW07'); // Author: Bruce Thomas (c) 2007 Lemon Foundation . All rights resered // Purpose: To modify the content of the page by accessing dynamic data // and inserting it into the conent area. function featuredBrands() { var txt = '
Katvig
Katvig

The Danish kings of stripe in colours that you wouldn\'t expect!

View Katvig
MINI A TURE
MINI A TURE

There is a hint of nostalgia surrounding this quality clothing from Denmark

View MINI A TURE
KiK*KiD
KiK*KiD

Clothes with a fashionable fit from these funky Dutch designers.

View KiK*KiD
Katvig
Katvig

The Danish kings of stripe in colours that you wouldn\'t expect!

View Katvig
'; return txt; } function ShowSubCategory() { // insert the sub-category and it's children // var sCatId = getCategory().toString(); var iCatId = parseInt( getCategory() ); if (iCatId>0) { //getLayer('categories').innerHTML = 'nothing yet ...'; var indx = GetParent( iCatId ); //alert('pid' + getLayer('catid_'+pid.toString()).innerHTML ); var sParent = '
  • ' + getLayer('catid_'+(indx).toString()).innerHTML + '
  • '; var sChildren = GetChildren( indx ); getLayer('categories').innerHTML = sParent + sChildren; getLayer('category_list').style.display = 'block'; } else { // document.write('ShowSubCategory:iCatId drop through!'); } } function GetParent( iCatId ) { // search array for id var cid = 0; var pid = 0; for (var i=0; i < catArray.length; i++) { cid = catArray[i][0]; pid = catArray[i][1]; // return the parent ID if( cid == iCatId || pid == iCatId ) { return pid; } } } function GetChildren( iPid ) { var rtn = ''; var ccnt = 0; for (var t=0; t < catArray.length; t++){ var row = catArray[t]; if (row[1] == iPid) { rtn += '
  • '+ catArray[t][2] +'
  • '; ccnt ++; } } if (ccnt < 2) { rtn = ''; } return rtn; } function getCategory() { // returns the category id or ZERO var strQStr = window.location.toString(); var rtn = 0; var raw = strQStr.split('/'); var i = raw.length; var scriptname = ''+raw[ i-1 ].toString(); // exception for homepage var sStr = scriptname.toLowerCase(); // alert('IO ['+ sStr +']'); // hack to activate homepage as if shopByAge cat id=1 switch ( sStr ) { case '' : rtn = '1'; break; case 'index.html' : rtn = '1'; break; case 'default.asp': rtn = '1'; break; } if ( scriptname.length > 0 && rtn == 0) { // is there a querystring value to use? rtn = GetQueryString('cat').toString(); if (rtn.length == 0) { rtn=0; // find the cat id if ( scriptname.indexOf('_c_')>0 ) { var qs = scriptname.split("_c_"); var val = qs[1].split('.'); rtn = val[0]; // more complex cat id so ... var tmp = rtn.split('-') if ( tmp.length > 0 ) { rtn = tmp[0]; } } } } //document.write('getCategory: ['+rtn+']'); return parseInt(rtn); }