// identify explorer - not as easy as it sounds (opera likes to pretend it's IE)
var MSIE = /^ms_/.test(document.documentElement.uniqueID);
var ieVersion = (MSIE) ? navigator.appVersion.match(/MSIE (\d\.\d)/)[1] : 0;

function _addEventListener(element, eventName, func) {
	if (element.addEventListener) element.addEventListener(eventName, func, false); // W3C
	else if (element.attachEvent) element.attachEvent('on' + eventName, func); // IE
	else element['on' + eventName] = func;
}

function submitForm(formName) {
	document[formName].submit()
};

function setFormAction(formName, actionValue) {
	document[formName].action = actionValue;
};

function openWindow(url, width, height){
	var win = window.open(url, "", "toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=0,copyhistory=no,width=" + width + ",height=" + height + ",scrollbars=1");
	if (win.focus) win.focus();
};

function getWindowHeight() {
	return window.innerHeight || document.documentElement.offsetHeight;
};

// convert text to HTML so we can update innerHTML safely
function encodeHTML(text) {
	return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
};

function adSetup() {
	if (window.adDrop) adDrop();
	resize();
	if (window.roundedCorners) roundedCorners.recalc();
};

// ensure that page content expands to fill the height of the screen
var MIN_HEIGHT = (MSIE) ? "height" : "minHeight";
function resize() {
	var content = document.getElementById("pagecontent");
	var footer = document.getElementById("footer");
	if (content && footer) {
		//content.style[MIN_HEIGHT] = getWindowHeight() - content.offsetTop - footer.offsetHeight;
	}
};

// event handling

function addEventHandler(element, event, handler) {
	if (element.attachEvent) element.attachEvent(event, handler);
	else if (element.addEventListener)	element.addEventListener(event.slice(2), handler, null);
};

if (!MSIE || ieVersion > 5) addEventHandler(window, "onresize", resize);
addEventHandler(window, "onload", adSetup);

//admin site functions

function setUserAction(formName, actionField, actionValue) {
    document[formName].elements[actionField].value = actionValue;
}

function setNextStep(formName, value) {
    document[formName].nextStep.value = value;
}

// script to target parent of pop-up window

function targetopener(mylink, closeme, closeonly){
	if (! (window.focus && window.opener))return true;
	window.opener.focus();
	if (! closeonly)window.opener.location.href=mylink.href;
	if (closeme)window.close();
	return false;
	}

//car finance price-poster
function constructURL(url,formName){
	amount=document.finance.borrow.value;
	newURL = url+'?amount='+amount;
	//removed opener functionality
	//window.opener.focus();
	//window.opener.location.href=newURL;
	//window.location.href=newURL;
	raw_popup(newURL,'_blank','location=0,resizable=yes,statusbar=0,scrollbars=1, menubar=0, width=780, height=500');
	//self.resizeTo(780,500);
	return false;
}

/* popup window stuff */

function isUndefined(v) {
    var undef;
    return v===undef;
}

var _POPUP_FEATURES = 'location=0,resizable=yes, statusbar=0,scrollbars=1, menubar=0, width=680, height=500';

function raw_popup(url, target, features) {
    // pops up a window containing url optionally named target, optionally having features
    if (isUndefined(features)) features = _POPUP_FEATURES;
    if (isUndefined(target  )) target   = '_blank';
    var theWindow = window.open(url, target, features);
    theWindow.focus();
    return theWindow;
}

function link_popup(src, features) {
    // to be used in an html event handler as in: <a href="..." onclick="link_popup(this,...)" ...
    // pops up a window grabbing the url from the event source's href
    return raw_popup(src.getAttribute('href'), src.getAttribute('target') || '_blank', features);
}

function fillChilds(form,name1,name2,allchilds,allparents) {
	emptySelectBox(form, name1, allchilds);
	var childid = 0;
	var start = 1;
	var name2Length = document[form][name2].length;
	if (allchilds == true) {
		childid = 1;
	}
	if (allparents == false) {
		start = 0;
	}
    var selectedvalue = 0;
	for (var i=start;i<name2Length;i++) {
		if (document[form][name2][i].selected) {

            selectedvalue = parentArr[i-start].split(";")[0];
			var tmpArr = childArr[i-start].split("|");
			for (var j=0;j<tmpArr.length;j++) {
				var tmpArr2 = tmpArr[j].split(";");
			    document[form].elements[name1].options[childid] = new Option(tmpArr2[1],tmpArr2[0]);
                childid++;
			}
		}
	}
    if (allchilds) {
        document[form].elements[name1].options[0].value = '0';
    }
}

function emptySelectBox(form, boxname, allchilds){
	var length = Number(document.forms[form].elements[boxname].options.length);

	if (navigator.appName.indexOf("Netscape") != -1) {
		for (var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options[i]=null;
		}
	} else if (navigator.userAgent.indexOf("Opera") != -1) {
		for(var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options.remove(i);
		}
	} else if ((navigator.userAgent.indexOf("MSIE") != -1) && (parseInt(navigator.appVersion) >= 4)) {
		for(var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options.remove(i);
		}
	} else if ((navigator.userAgent.indexOf("MSIE") != -1) && (parseInt(navigator.appVersion) < 4)) {
		for (var i=(length-1); i > 0; i--) {
			document.forms[form].elements[boxname].options[i].selected = false;
		}
	} else {
		for (var i=(length-1); i > 0; i--) {
			document.forms[form].elements[boxname].options[i].selected = false;
		}
	}
	if (navigator.appName.indexOf("Netscape") == -1) {
		if (allchilds) {
			document.forms[form].elements[boxname].options[0] = new Option("All","0",true,true);
		} else {
			document.forms[form].elements[boxname].options[0] = new Option("","0",true,true);
		}
		document.forms[form].elements[boxname].options[0].selected = true;
	}
}

var numb = '0123456789';

function isValid(parm,val) {
  if (parm == "") return true;
  for (i=0; i<parm.length; i++) {
    if (val.indexOf(parm.charAt(i),0) == -1) return false;
  }
  return true;
}

function isNum(parm) {return isValid(parm,numb);}

function openLocationWindow(formName, fieldName, parameterName, url){
    url = url + '?' + parameterName + '=' + document[formName].elements[fieldName].value + '&locationfield=' + fieldName;
	openWindow(url, '700','400');
};

function returnValueToOpener(formName, fieldName, localFormName, localFieldName, multiple) {
    if (formName != null && fieldName != null && localFormName != null && localFieldName != null) {
        var returnValue = this.document.forms[localFormName].elements[localFieldName].value;
        if (multiple) {
            var array = new Array();
            array = this.document.forms[localFormName].elements[localFieldName];
            var finished = false;
            var index = 0;
            while(!finished || index < array.length) {
                if (array[index].checked == true) {
                    returnValue = array[index].value;
                    finished = true;
                }
                index++;
            }
        }
        window.opener.document[formName].elements[fieldName].value = returnValue;        
    }
};

function closeLocationWindow(formName) {
    window.close();
    window.opener.document[formName].submit();
    window.opener.focus();
};

// Used by the <input:select> tag to remember options when the user navigates back in history
function rememberoptions_load(inputSelect) {
	if (inputSelect && inputSelect.form && inputSelect.options) {
		var hValues = inputSelect.form[inputSelect.name + '_values'];
		var hText = inputSelect.form[inputSelect.name + '_text'];
		var hSelected = inputSelect.form[inputSelect.name + '_selected'];
		if (hValues && hText && hSelected && hValues.value.length > 0) {
			// deserialize the arrays from the hidden fields
			var optionValues = hValues.value.split(';');
			var optionText = hText.value.split(';');
			var optionSelected = hSelected.value.split(';');

			// Delete all existing options.
			while (inputSelect.options.length>0) inputSelect.options.remove(0);

			for (var i=0; i<optionValues.length; ++i) {
				// Create a new option
				var option = new Option(optionText[i], optionValues[i]);
				// Add the option to the select tag
				inputSelect.options[i] = option;
				// Mark the option as selected if it should be
				for (var j=0; j<optionSelected.length; ++j) if (option.value == optionSelected[j]) {
					option.selected = true;
				}
			}
		}
	}
}

// Used by the <input:select> tag to remember options when the user navigates back in history
function rememberoptions_save(inputSelect) {
	if (inputSelect && inputSelect.form && inputSelect.options) {
		var options = inputSelect.options;
		var optionValues = new Array(), optionText = new Array(), optionSelected = new Array();

		// Store options to arrays
		for (var i=0; i<options.length; ++i) {
			var option = options[i];
			optionValues.push(option.value);
			optionText.push(option.text);
			if (option.selected) optionSelected.push(option.value);
		}

		// Serialize the arrays to hidden fields
		inputSelect.form[inputSelect.name + '_values'].value = optionValues.join(';');
		inputSelect.form[inputSelect.name + '_text'].value = optionText.join(';');
		inputSelect.form[inputSelect.name + '_selected'].value = optionSelected.join(';');
	}
}

// Used by the <input:select> tag to remember options when the user navigates back in history
function rememberoptions_registerEventHandlers(formName, selectTagName) {
	// Find formName if it's missing.
	if (!formName || formName.length==0) {
		var tags = document.getElementsByName(selectTagName);
		if (tags.length>0 && tags[0] && tags[0].form && tags[0].form.name) formName = tags[0].form.name;
	}
	var form = document.forms[formName];
	if (form) {
		var selectTag = form[selectTagName];
		if (selectTag) {
			_addEventListener(form, 'submit', function() { rememberoptions_save(selectTag); });
			_addEventListener(window, 'load', function() { rememberoptions_load(selectTag); });
		}
	}
}

function emptySelectBox(form, boxname, allchilds){
	var length = Number(document.forms[form].elements[boxname].options.length);

	if (navigator.appName.indexOf("Netscape") != -1) {
		for (var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options[i]=null;
		}
	} else if (navigator.userAgent.indexOf("Opera") != -1) {
		for(var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options.remove(i);
		}
	} else if ((navigator.userAgent.indexOf("MSIE") != -1) && (parseInt(navigator.appVersion) >= 4)) {
		for(var i=(length); i > 0; i--) {
			document.forms[form].elements[boxname].options.remove(i);
		}
	} else if ((navigator.userAgent.indexOf("MSIE") != -1) && (parseInt(navigator.appVersion) < 4)) {
		for (var i=(length-1); i > 0; i--) {
			document.forms[form].elements[boxname].options[i].selected = false;
		}
	} else {
		for (var i=(length-1); i > 0; i--) {
			document.forms[form].elements[boxname].options[i].selected = false;
		}
	}
	if (navigator.appName.indexOf("Netscape") == -1) {
		if (allchilds) {
			document.forms[form].elements[boxname].options[0] = new Option("All","0",true,true);
		} else {
			document.forms[form].elements[boxname].options[0] = new Option("","0",true,true);
		}
		document.forms[form].elements[boxname].options[0].selected = true;
	}
}
	
var parentArr = new Array();
	var childArr = new Array();
         parentArr[0] = "30000;Ace";
           childArr[0] = "31000;Capri|31001;Genova|31002;Novella|31003;Roma";
         parentArr[1] = "30001;Adria";
           childArr[1] = "31004;572 DK|31007;Coral S660|31005;Izola 697SL|31008;Izola A697|31009;Izola S687|31006;Van-M";
         parentArr[2] = "30003;Allegro";
           childArr[2] = "31010;Bay";
         parentArr[3] = "30004;Arto";
           childArr[3] = "31011;69GL";
         parentArr[4] = "30005;Austin";
           childArr[4] = "31012;Paralanian";
         parentArr[5] = "30006;Autocruise";
           childArr[5] = "31013;Colt|31014;Impala|31015;Marlin|31016;Mustang|31017;Starblazer|31018;Starfire|31019;Stargazer|31020;Starquest|31021;Starseeker|31022;Starspirit|31023;Sunningdale|31024;Tempo|31025;Valentine|31026;Vista|31027;Wentworth";
         parentArr[6] = "30007;Autohomes";
           childArr[6] = "31028;Avalon|31029;Bambi|31030;Bedouin|31031;Camelot|31032;CI/CM Landliner|31033;Frontier|31034;Highwayman|31035;Highwayman II SE|31036;Kameo|31037;Kamper|31038;Komet|31039;Koncord|31040;Merlin|31041;Sienna|31042;Travelhome|31043;Wanderer|31044;Wayfarer|31045;Wayfinder|31046;Wildwind|31047;Windfall";
         parentArr[7] = "30008;Auto-Sleepers";
           childArr[7] = "31048;Amethyst|31049;Aquilas|31050;Aquilas L|31051;Clubman|31052;Dorado|31053;Duetto|31054;Executive|31055;Flair|31056;Frisky|31057;Gatcombe|31058;Gemini|31059;Harmony|31060;Inca|31061;Legend|31062;Libra|31063;Luxor EB|31064;Medallion|31065;Mensa|31066;Midas|31067;Montana|31068;Nuevo|31069;Pavo|31070;Pollensa|31071;Rambler|31072;Rapport|31073;Ravenna|31074;RCX|31075;Recro|31076;Rhapsody|31077;Rienza|31078;Rimini|31079;Saturn|31080;Sherbourne|31081;SV100|31082;Symbol|31083;Symphony|31084;Talisman|31085;Topaz|31086;Trident|31087;Trooper|31088;VT20";
         parentArr[8] = "30009;Autostar";
           childArr[8] = "31089;Amical|31090;Aryal|31091;Auros";
         parentArr[9] = "30010;Auto-Trail";
           childArr[9] = "31092;Apache|31093;Cherokee|31094;Cheyenne|31095;Chieftain|31096;Comanche|31097;Dakota|31098;Grande Frontier|31099;Kiowa|31100;Miami 740S|31101;Mohawk|31102;Mohican|31103;Navajo|31104;Pawnee|31105;Scout|31106;Tracker";
         parentArr[10] = "30011;AVA Leisure";
           childArr[10] = "31107;Alexandria|31108;Mazda|31109;Mazda SGL5 Bongo";
         parentArr[11] = "30012;Avondale";
           childArr[11] = "31110;Seascape 5CX|31111;Seascape 5FBX|31112;Seaspirit";
         parentArr[12] = "30013;Barrons";
           childArr[12] = "31113;Firebrand";
         parentArr[13] = "30014;Benimar";
           childArr[13] = "31114;710|31115;Aereo|31116;Europe";
         parentArr[14] = "30015;Bessacarr";
           childArr[14] = "31117;E370|31118;E370|31119;E425|31120;E600|31121;E605|31122;E645|31123;E710|31124;E725|31125;E745|31126;E765";
         parentArr[15] = "30016;Bilbos";
           childArr[15] = "31127;Arragon|31128;Celeste|31129;Celex|31130;Komba|31131;Nektar|31132;Nexa|31133;Weekender";
         parentArr[16] = "30017;Burstner";
           childArr[16] = "31134;A642-2|31135;Elegance|31136;T610|31137;T-625";
         parentArr[17] = "30018;Carlight";
           childArr[17] = "31138;Cirrus";
         parentArr[18] = "30103;Carnaby";

           childArr[18] = "31395;Emerdale";
         parentArr[19] = "30019;Carthargo";
           childArr[19] = "31139;Malibu|31140;M-Liner";
         parentArr[20] = "30020;Chausson";
           childArr[20] = "31141;Welcome";
         parentArr[21] = "30021;Chinook";
           childArr[21] = "31142;Summit";
         parentArr[22] = "30022;Ci";
           childArr[22] = "31143;141|31144;660|31145;Autoroller 1|31146;Carioca|31147;Carioca 665G|31148;Cipro|31149;Cusona|31150;Gold|31151;Highwayman|31152;Mizar|31153;Riviera";
         parentArr[23] = "30023;Coachman";
           childArr[23] = "31154;Santara";
         parentArr[24] = "30024;Cockburn Holdsworth";
           childArr[24] = "31155;Caprice|31156;Lysander|31157;Minuet|31158;Odyssey|31159;Vista";
         parentArr[25] = "30025;Compass";
           childArr[25] = "31160;Avantgarde|31161;Avantgarde 160|31162;Avantgarde 400 RL|31163;Calypso|31164;Castaway|31165;Clipper|31166;Coaster|31167;Cruiser|31168;Cruiser 740|31169;Drifter|31170;Navigator|31171;Navigator 310RL";
         parentArr[26] = "30026;Concept Designs";
           childArr[26] = "31172;Monaco";
         parentArr[27] = "30027;Cotswold";
           childArr[27] = "31173;C";
         parentArr[28] = "30028;Daihatsu";
           childArr[28] = "31174;Hijetta";
         parentArr[29] = "30029;Design Developments";
           childArr[29] = "31175;La Mediterranee|31176;St Tropez|31177;Stimson Provence|31178;Stimson Tirol";
         parentArr[30] = "30030;Dethleffs";
           childArr[30] = "31179;Advantage|31180;Esprit RT 6844|31182;Esprit RT 6844|31181;Esprit RT 7014|31183;Globebus 1|31184;Globebus L3|31185;Globetrotter|31186;Globetrotter|31187;Premium Class";
         parentArr[31] = "30031;Devon";
           childArr[31] = "31188;Camargue|31189;Discovery|31190;Dormobile|31191;Moonraker|31192;Pasadena|31193;Rio Grande|31194;Sunrise";
         parentArr[32] = "30032;Elddis";
           childArr[32] = "31195;300 Special|31196;Ariane|31197;Autocirrus|31198;Autocirrus 210|31199;Autoquest|31200;Autoquest Elite 420|31201;Autostratus|31202;Eclipse|31203;Elegance|31204;Envoy|31205;HiLife|31206;Nipper|31207;Sunseeker|31208;Voyager II|31209;Xpedition 200";
         parentArr[33] = "30033;Elnagh";
           childArr[33] = "31210;Clipper 90|31211;Joxy";
         parentArr[34] = "30034;Eriba";
           childArr[34] = "31212;530";
         parentArr[35] = "30035;Eura Mobil";
           childArr[35] = "31213;706hb Contura|31214;Integra";
         parentArr[36] = "30036;Euro Motor Campers";
           childArr[36] = "31215;Quartz";
         parentArr[37] = "30037;EVM System";
           childArr[37] = "31216;460 SL";
         parentArr[38] = "30038;Fleetwood";
           childArr[38] = "31217;Flair";
         parentArr[39] = "30039;Ford";
           childArr[39] = "31218;Freda";
         parentArr[40] = "30040;Forest River";
           childArr[40] = "31219;Lexington 255 DS";
         parentArr[41] = "30041;Frankia";
           childArr[41] = "31220;I6500ED|31221;T6500FD";
         parentArr[42] = "30042;Geist";
           childArr[42] = "31222;Phantom";
         parentArr[43] = "30043;Georgie Boy";
           childArr[43] = "31399;Bellagio|31394;Cruisemaster|31223;Encounter|31397;Landau|31224;Maverick|31398;Pursuit";
         parentArr[44] = "30044;Giottiline";
           childArr[44] = "31225;Genetics J500";
         parentArr[45] = "30045;Glendale";
           childArr[45] = "31226;High-Top";
         parentArr[46] = "30046;Granduca";
           childArr[46] = "31227;Pegaso";
         parentArr[47] = "30047;Great West Van";
           childArr[47] = "31228;Classic Supreme";
         parentArr[48] = "30048;Gulf Stream";
           childArr[48] = "31229;Sun Sport";
         parentArr[49] = "30049;Herald";
           childArr[49] = "31230;Aragon|31231;Emblem|31232;Insignia|31233;Squire";
         parentArr[50] = "30050;Hobby";
           childArr[50] = "31234;750 FMSE|31235;Alkoven 725 FMC";
         parentArr[51] = "30051;Holdsworth";
           childArr[51] = "31236;Fanfare|31237;Fantasia|31238;Ford Transit|31239;Minuet|31240;Rainbow|31241;Romance|31242;San Remo|31243;Valentine|31244;Villa|31245;Vision";
         parentArr[52] = "30052;Hymer";
           childArr[52] = "31250;52D|31246;534|31247;540|31248;584|31249;654|31251;B544|31252;B564|31253;B644|31254;B-Classic 544|31255;Camp Swing 494|31256;Camp Swing 544K|31257;E510|31258;Eurosport|31259;S520|31260;S555|31261;S820|31262;Star Line 630|31263;T-655";
         parentArr[53] = "30053;Hytop";
           childArr[53] = "31264;Romahome";
         parentArr[54] = "30054;IH Motor Campers";
           childArr[54] = "31265;Nevada|31266;Oregon|31267;Savannah";
         parentArr[55] = "30104;IRM";
           childArr[55] = "31396;Banbury";
         parentArr[56] = "30055;Isata";
           childArr[56] = "31268;230";
         parentArr[57] = "30056;Island Plastics";
           childArr[57] = "31269;Romahome";
         parentArr[58] = "30057;JC Leisure";
           childArr[58] = "31270;Columbus|31271;Drake|31272;Magic";
         parentArr[59] = "30058;Joint";
           childArr[59] = "31273;Capuchino|31274;Profile";
         parentArr[60] = "30059;Karmann";
           childArr[60] = "31275;Colarado 600|31276;Colorado|31277;Gipsy";
         parentArr[61] = "30060;Knaus";
           childArr[61] = "31278;Sport Traveller|31279;Sun TI 650MF|31280;Sun Traveller|31281;Traveller";
         parentArr[62] = "30061;La Finca";
           childArr[62] = "31282;573";
         parentArr[63] = "30062;La Strada";
           childArr[63] = "31283;Avanti|31284;Nova|31285;Regent";
         parentArr[64] = "30063;Laika";
           childArr[64] = "31286;Ecovip|31287;Ecovip 400i|31288;Ecovip H730|31289;Kreos|31290;Kreos 3010";
         parentArr[65] = "30064;Le Voyageur";
           childArr[65] = "31291;8sp";
         parentArr[66] = "30065;Leisure Campers";
           childArr[66] = "31292;EC6L Demountable";
         parentArr[67] = "30066;Lunar";
           childArr[67] = "31293;Champ|31294;Newstar|31295;Roadstar|31296;Roadstar 620";
         parentArr[68] = "30067;Machzone";
           childArr[68] = "31297;Ecu|31298;Hybrid";
         parentArr[69] = "30068;Manhattan Motorcoaches";
           childArr[69] = "31299;Tardis";
         parentArr[70] = "30069;Marquis";
           childArr[70] = "31300;Majestic Starlet II|31301;Stargazer";
         parentArr[71] = "30070;McLouis";
           childArr[71] = "31302;251|31303;252|31304;432|31305;Glen|31306;Tandy 670";
         parentArr[72] = "30071;Mercedes";
           childArr[72] = "31307;Grande Lux|31308;Monaco";
         parentArr[73] = "30072;Middlesex";
           childArr[73] = "31309;Milo";
         parentArr[74] = "30073;Miller";
           childArr[74] = "31310;Princeton";
         parentArr[75] = "30074;Mirage";
           childArr[75] = "31311;6000 Aire Auto";
         parentArr[76] = "30075;Mobilvetta Design";
           childArr[76] = "31312;Driver|31313;ICARO S10|31314;Top Driver|31315;Top Driver S71";
         parentArr[77] = "30076;Moncayo";
           childArr[77] = "31316;Halcon";
         parentArr[78] = "30077;Murvi";
           childArr[78] = "31317;Mallard S+|31318;Meteor|31319;Mirage|31320;Morello";
         parentArr[79] = "30078;NuVenture";
           childArr[79] = "31321;Avanti|31322;Surf";
         parentArr[80] = "30079;Pilote";
           childArr[80] = "31323;Atlantis|31324;Debut|31325;G600|31326;Galaxy|31327;Pacific 62|31328;R380|31329;R8005";
         parentArr[81] = "30080;Pioneer";
           childArr[81] = "31330;Cezanne|31331;Classic|31332;Tasman";
         parentArr[82] = "30081;Rapido";
           childArr[82] = "31333;741|31334;924F|31335;Randonneur 710F|31336;Randonneur 742F|31337;Randonneur 770F|31338;Randonneur 972M|31339;Randonneur 986M";
         parentArr[83] = "30082;Reimo";
           childArr[83] = "31340;High-Top|31341;Miami|31342;Toscana";
         parentArr[84] = "30083;Rimor";
           childArr[84] = "31343;L Europeo|31344;Super Brig";
         parentArr[85] = "30084;Roadtrek";
           childArr[85] = "31345;Popular|31346;Versatile";
         parentArr[86] = "30085;Roller Team";
           childArr[86] = "31347;Auto-Roller";
         parentArr[87] = "30086;Romahome";
           childArr[87] = "31348;Duo|31349;Duo Hylo|31350;Duo Outlook|31351;Duo Plus|31352;Hylo";
         parentArr[88] = "30087;R-Vision";
           childArr[88] = "31353;Condor";
         parentArr[89] = "30088;SEA";
           childArr[89] = "31354;CPT|31355;Dinghy|31356;Sloop 5";
         parentArr[90] = "30089;Swift";
           childArr[90] = "31357;Ace|31358;Cappucino|31359;Capri|31360;Carrera|31361;Gazelle|31362;Kon-Tiki|31363;Mondial MV|31364;Royale|31365;Royale 610|31366;Sundance|31367;Sundance 600S|31369;Suntor";
         parentArr[91] = "30090;Tandy";
           childArr[91] = "31370;Maestro|31371;Sportbus Caverra";
         parentArr[92] = "30091;TEC";
           childArr[92] = "31372;688 TI";
         parentArr[93] = "30092;Timberland Motorhomes";
           childArr[93] = "31373;Freedom";
         parentArr[94] = "30093;Trigano";
           childArr[94] = "31374;Tribute";
         parentArr[95] = "30094;Triple";
           childArr[95] = "31375;Embassy";
         parentArr[96] = "30095;Vivanti";
           childArr[96] = "31376;V4S";
         parentArr[97] = "30096;Volkswagen";
           childArr[97] = "31377;CFR T4|31378;Dormobile|31379;T5 California|31380;Transporter Type 2|31381;Viking Spacemaker|31382;Westfalia";
         parentArr[98] = "30097;Weinsberg";
           childArr[98] = "31383;Imperiale|31384;Meteor";
         parentArr[99] = "30098;Wellhouse Leisure";
           childArr[99] = "31385;SGL5";
         parentArr[100] = "30099;Westfalia";
           childArr[100] = "31386;Berlin|31387;Helsinki|31388;Joker|31389;Nugget";
         parentArr[101] = "30100;Westwood";
           childArr[101] = "31390;Executive";
         parentArr[102] = "30101;Winnebago";
           childArr[102] = "31391;Brave 28|31392;Chieftain";
         parentArr[103] = "30102;Young Conversions";
           childArr[103] = "31393;VW Islay"; 
