	<!--
	
		/*********************************************
		//   Party Estimate Calculator Version 7.0	//
		//   Written for PartyPOP.com				//
		//   by Igal Sapir, 21Solutions.net			//
		//   (C) 1999-2001 All Rights Reserved		//
		*********************************************/
	
		var adults = 100;
		var kids = 25;
		var people = adults + kids;
		var guests = adults + Math.round(kids / 2); // for food calculations
		var seasonalAdj = 1;	// No adjustment for january
		var daytimeAdj = 1;		// No adjustment for evening
		var stateAdj = 1;		// No adjustment for state
		var foodIncluded = false;
		
		var locationWFood = 0;
		var locationNFood = 0;
		var locationHome = 0;
		var invitation = 0;
		var transportGuests = 0;
		var transportHost = 0;
		var dj = 0;
		var band = 0;
		var talent = 0;
		var equipment = 0;
		var clergymen = 0;
		var valet = 0;
		var security = 0;
		var decoration = 0;
		var flowers = 0;
		var balloons = 0;
		var lighting = 0;
		var sound = 0;
		var noise = 0;
		var costumes = 0;
		var foodHost = 0;
		var foodPro = 0;
		var chef = 0;
		var server = 0;
		var barPerson = 0;
		var wine = 0;
		var beer = 0;
		var alcohol = 0;
		var softDrinks = 0;
		var hotDrinks = 0;
		var ice = 0;
		var photoHost = 0;
		var photoPro = 0;
		var videoHost = 0;
		var videoPro = 0;
		var gifts = 0;
		var plastic = 0;
		var china = 0;
		var paper = 0;
		var cloth = 0;
		var tables = 0;
		var dance = 0;
		var stage = 0;
		var tent = 0;
		var heaters = 0;
		var thankYou = 0;
		var bridalGown = 0;
		var tuxedo = 0;
		var eventCoordinator = 0;
		var weddCoordinator = 0;
		var misc = 0;
		
		var v_locationWFood = 0;
		var v_locationNFood = 0;
		var v_locationHome = 0;
		var v_invitation = 0;
		var v_transportGuests = 0;
		var v_transportHost = 0;
		var v_dj = 0;
		var v_band = 0;
		var v_talent = 0;
		var v_equipment = 0;
		var v_clergymen = 0;
		var v_valet = 0;
		var v_security = 0;
		var v_decoration = 0;
		var v_flowers = 0;
		var v_balloons = 0;
		var v_lighting = 0;
		var v_sound = 0;
		var v_noise = 0;
		var v_costumes = 0;
		var v_foodHost = 0;
		var v_foodPro = 0;
		var v_chef = 0;
		var v_server = 0;
		var v_barPerson = 0;
		var v_wine = 0;
		var v_beer = 0;
		var v_alcohol = 0;
		var v_softDrinks = 0;
		var v_hotDrinks = 0;
		var v_ice = 0;
		var v_photoHost = 0;
		var v_photoPro = 0;
		var v_videoHost = 0;
		var v_videoPro = 0;
		var v_gifts = 0;
		var v_plastic = 0;
		var v_china = 0;
		var v_paper = 0;
		var v_cloth = 0;
		var v_tables = 0;
		var v_dance = 0;
		var v_stage = 0;
		var v_tent = 0;
		var v_heaters = 0;
		var v_thankYou = 0;
		var v_bridalGown = 0;
		var v_tuxedo = 0;
		var v_eventCoordinator = 0;
		var v_weddCoordinator = 0;
		var v_misc = 0;
		
		var total = 0;
		
		function confirmItem(item,value) {
			if (!foodIncluded || (value == 0)) return false;
			var message = 'You have selected LOCATION WITH FOOD above. ' + item + ' is therefore included in that calculation. Are you sure you want to add ' + item + ' again? Click OK for yes or CANCEL for no.';
			
			return confirm(message);
		}
		
		function updateVariable(variable, subTotal, display) {
			eval('' + variable + '=' + subTotal);
		//	document.budget['s_' + variable].value = eval(Math.round(subTotal));
			var cellCost = document.getElementById('s_' + variable);
			var subText = document.createTextNode("$" + Math.round(subTotal));
			
			cellCost.replaceChild(subText, cellCost.childNodes[0]);
			document.budget['val_' + variable].value = eval(Math.round(subTotal));
			
			if (display != '') {	
				eval('v_' + variable + '=' + subTotal);

			//	document.budget['l_' + variable].value = display;
				var cellVal = document.getElementById('l_' + variable);
				var subText = document.createTextNode(display);
			
				cellVal.replaceChild(subText, cellVal.childNodes[0]);
				document.budget['lvl_' + variable].value = display;
				
				if (display == 'N/A')
					document.budget['r_' + variable ][0].checked = true;
			}
		}
		
		function setValue(variable, value, display) {
			itemCost = 0;
			update = true;
			level = 0;
			
			switch (variable) {
				case 'locationWFood' : itemCost = value * people;
					updateVariable('locationNFood',0,'N/A');
					updateVariable('locationHome',0,'N/A');
					updateVariable('foodHost',0,'N/A');
					updateVariable('foodPro',0,'N/A');
					updateVariable('chef',0,'N/A');
					updateVariable('server',0,'Included');
					updateVariable('barPerson',0,'Included');
					updateVariable('softDrinks',0,'Included');
					updateVariable('hotDrinks',0,'Included');
					updateVariable('ice',0,'Included');
					updateVariable('plastic',0,'N/A');
					updateVariable('china',0,'Included');
					updateVariable('paper',0,'N/A');
					updateVariable('cloth',0,'Included');
					updateVariable('tables',0,'Included');
					updateVariable('dance',0,'Included');
					updateVariable('stage',0,'Included');
					foodIncluded = true;
					break;
				case 'locationNFood' : value == 0 ? itemCost = 0 : itemCost = 300 + (value * people);
					updateVariable('locationWFood',0,'N/A');
					updateVariable('locationHome',0,'N/A');
					foodIncluded = false;
				/* debug
					alert("itemCost = " + itemCost); 	//*/
					break;
				case 'locationHome' : value == 0 ? itemCost = 0 : itemCost = 25 + (value * people);
					updateVariable('locationWFood',0,'N/A');
					updateVariable('locationNFood',0,'N/A');
					foodIncluded = false;
					break;
				case 'invitation' : // itemCost = value * guests;
					itemCost = value;
				/* debug
					alert("itemCost = " + itemCost); 	//*/
					break;
				case 'transportGuests' : itemCost = value * people;
					break;
				case 'transportHost' : itemCost = value;
					break;
				case 'dj' : itemCost = value;
					break;
				case 'band' : itemCost = value;
					break;
				case 'talent' : itemCost = value;
					break;
				case 'equipment' : itemCost = value;
					break;
				case 'clergymen' : itemCost = value;
					break;
				case 'valet' : 		// itemCost = value * people;
					itemCost = value;
					break;
				case 'security' : 	// itemCost = value * people;
					itemCost = value;
					break;
				case 'decoration' : // itemCost = value * people;
					itemCost = value;
					break;
				case 'flowers' : 	// itemCost = value * people;
					itemCost = value;
					break;
				case 'balloons' : 	// itemCost = value * people;
					itemCost = value;
					break;
				case 'lighting' : 	// value == 0 ? itemCost = 0 : itemCost = 100 + (value * people);
					itemCost = value;
					break;
				case 'sound' : 		// value == 0 ? itemCost = 0 : itemCost = 100 + (value * people);
					itemCost = value;
					break;
				case 'noise' : 		// value == 0 ? itemCost = 0 : itemCost = 100 + (value * people);
					itemCost = value;
					break;
				case 'costumes' : itemCost = value * people;
					break;
				case 'foodHost' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Food by Host',value)))
						itemCost = value * guests;
					else if (value > 0) update = false;
					updateVariable('foodPro',0,'N/A');
					break;
				case 'foodPro' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Food by Caterer',value)))
						itemCost = value * guests;
					else if (value > 0) update = false;
					updateVariable('foodHost',0,'N/A');
					break;
				case 'chef' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Chef',value)))
						itemCost = value;	// itemCost = 100 + (value * guests);
					else if (value > 0) update = false;
				
					break;
				case 'server' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Server',value)))
						itemCost = value * guests / 20;
					else if (value > 0) update = false;
					
					break;
				case 'barPerson' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Bar Person',value)))
						itemCost = value * guests / 80;
					else if (value > 0) update = false;
					
					break;
				case 'wine' : itemCost = value * adults;
					break;
				case 'beer' : itemCost = value * adults;
					break;
				case 'alcohol' : itemCost = value * adults;
					break;
				case 'softDrinks' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Soft Drinks',value)))
						itemCost = value * people;
					else if (value > 0) update = false;
					
					break;
				case 'hotDrinks' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Hot Drinks',value)))
						itemCost = value * people;
					else if (value > 0) update = false;
					
					break;
				case 'ice' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Ice',value)))
						itemCost = value * people;
					else if (value > 0) update = false;
					
					break;
				case 'photoHost' : itemCost = value * people;
					updateVariable('photoPro',0,'N/A');
					break;
				case 'photoPro' : 
					if (value == 0) itemCost = 0;
					else if (value == 2) itemCost = 500 + 2 * people;
					else if (value == 3) itemCost = 800 + 3 * people;
					else if (value == 4) itemCost = 1200 + 3 * people;
					else if (value == 5) itemCost = 1500 + 5 * people;
					updateVariable('photoHost',0,'N/A');
					break;
				case 'videoHost' : itemCost = value * people;
					updateVariable('videoPro',0,'N/A');
					break;
				case 'videoPro' : 
					if (value == 0) itemCost = 0;
					else if (value == 2) itemCost = 300 + 2 * people;
					else if (value == 3) itemCost = 500 + 3 * people;
					else if (value == 4) itemCost = 1500 + 4 * people;
					else if (value == 5) itemCost = 2000 + 5 * people;
					updateVariable('videoHost',0,'N/A');
					break;
				
				case 'gifts' : 	// itemCost = value * people;
					itemCost = value;
					break;
					
				case 'plastic' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Plastic Plates, Cups and Utensils',value)))
						itemCost = value;	// itemCost = value * people;
					else if (value > 0) update = false;
				
					updateVariable('china',0,'N/A');
					break;
				
				case 'china' : 
					if (!foodIncluded || (foodIncluded && confirmItem('China Plates, Cups and Utensils',value)))
						itemCost = value;	// itemCost = value * people;
					else if (value > 0) update = false;
					
					updateVariable('plastic',0,'N/A');
					break;
					
				case 'paper' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Paper Tablecloth and Napkins',value)))
						itemCost = value;	// itemCost = value * people;
					else if (value > 0) update = false;
				
					updateVariable('cloth',0,'N/A');
					break;
					
				case 'cloth' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Cloth Linen and Napkins',value)))
						itemCost = value;	// itemCost = value * people;
					else if (value > 0) update = false;
					
					updateVariable('paper',0,'N/A');
					break;
				
				case 'tables' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Tables & Chairs',value)))
						itemCost = value * people;
					else if (value > 0) update = false;
				
					break;
					
				case 'dance' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Dance Floor',value)))
						itemCost = value;
					else if (value > 0) update = false;
					level = 5;
					break;
					
				case 'stage' : 
					if (!foodIncluded || (foodIncluded && confirmItem('Stage',value)))
						itemCost = value;
					else if (value > 0) update = false;
					level = 5;
					break;
					
				case 'tent' : itemCost = value;
					level = 5;
					break;
					
				case 'heaters' : itemCost = value * 80;
					break;
					
				case 'thankYou' : itemCost = value * people;
					break;
					
				case 'bridalGown' : itemCost = value;
					break;

				case 'tuxedo' : itemCost = value;
					break;
					
				case 'eventCoordinator' : itemCost = value;
					break;
				
				case 'weddCoordinator' : itemCost = value;
					break;
			}	
						
			if (update) {
				/* debug
					alert("itemCost = \t" + itemCost + "\r\nvalue = \t\t" + value); 	//*/
				
				eval('v_' + variable + '=' + value);
				eval('' + variable + '=' + 'Math.round(' + itemCost + ')');
			
			//	document.budget['l_' + variable].value = display;
				var cell = document.getElementById('l_' + variable);
				var subText = document.createTextNode(display);
				cell.replaceChild(subText, cell.childNodes[0]);
				document.budget['lvl_' + variable].value = display;
				
			//	document.budget['s_' + variable].value = eval(variable);
				var cellCost = document.getElementById('s_' + variable);
				subText = document.createTextNode('$' + eval(variable));

			
				cellCost.replaceChild(subText, cellCost.childNodes[0]);
				document.budget['val_' + variable].value = eval(variable);
				
				/* debug
					alert("itemCost = \t" + itemCost + "\r\nvalue = \t\t" + value + "\r\nvariable = \t" + variable + "\t" + eval(variable)); 	//*/
			}
			
			
			switch (display) {
				case 'N/A'		: level = 0;
					break;
				case 'Basic' 	: level = 1;
					break;
				case 'Average' 	: level = 2;
					break;
				case 'Good' 	: level = 3;
					break;
				case 'Yes'	 	: level = 3;
					break;
				case 'Better' 	: level = 4;
					break;
				case 'Best' 	: level = 5;
					break;
			}
			
			setVendor(variable, level);

		/* debug
		alert(variable + " = " + eval(variable) + " : " + display); */
		
			recalcBudget();
		}
		
		function isNumber(number) {
	        var temp = number;
			if (temp == "") return false;
			
    	    for (var i = 0; i < temp.length; i++) {
        	    var ch = temp.substring(i, i + 1)
            	if ((ch < "0" || "9" < ch) && ch != '.') return false;
        	}
        	
    	    return true;
	    }

		
		function updateGuests() {
			oldAdults = adults;
			oldKids = kids;
			
			adults = (document.budget['adults'].value);
			kids = (document.budget['kids'].value);
			
			if (!isNumber(adults)) {
				adults = oldAdults;
				document.budget['adults'].value = adults;
			}
			
			if (!isNumber(kids)) {
				kids = oldKids;
				document.budget['kids'].value = kids;
			}
			
			adults = parseInt(adults);
			kids = parseInt(kids);
			
			people = adults + kids;
			guests = adults + Math.round(kids / 2);
			
			selectListDate = document.budget['partyDate'];
			seasonalAdj = selectListDate.options[selectListDate.selectedIndex].value;
			
			selectListTime = document.budget['partyTime'];
			daytimeAdj = selectListTime.options[selectListTime.selectedIndex].value;
			/*
			selectListState = document.budget['partyState'];
			stateAdj = selectListState.options[selectListState.selectedIndex].value;
			*/
			recalcBudget();
		}
		
		function recalcBudget() {
			locationWFood = v_locationWFood * people * seasonalAdj * daytimeAdj * stateAdj;
			
			// v_locationNFood == 0 ? locationNFood = 0 : locationNFood = (300 + (v_locationNFood * people)) * seasonalAdj * stateAdj;
			locationNFood = v_locationNFood * people * seasonalAdj * stateAdj;
			
			v_locationHome == 0 ? locationHome = 0 : locationHome = 25 + (v_locationHome * people);
			
			// invitation = v_invitation * people;
			invitation = v_invitation;
			
			transportGuests = v_transportGuests * people * daytimeAdj * stateAdj;
			transportHost = v_transportHost * daytimeAdj * stateAdj;
			dj = v_dj * seasonalAdj * daytimeAdj * stateAdj;
			
			band = v_band * seasonalAdj * daytimeAdj * stateAdj;
			talent = v_talent * seasonalAdj * daytimeAdj * stateAdj;
			equipment = equipment;
			
			clergymen = clergymen * daytimeAdj;
			
			// valet = v_valet * people * seasonalAdj * daytimeAdj * stateAdj;
			valet = v_valet * seasonalAdj * daytimeAdj * stateAdj;
			
			// security = v_security * people * seasonalAdj * daytimeAdj * stateAdj;
			security = v_security * seasonalAdj * daytimeAdj * stateAdj;
			
			// decoration = v_decoration * people;
			decoration = v_decoration;
			
			// flowers = v_flowers * people * daytimeAdj;
			flowers = v_flowers * daytimeAdj;
			
			// balloons = v_balloons * people * daytimeAdj;
			balloons = v_balloons * daytimeAdj;
			
			// v_lighting == 0 ? lighting = 0 : lighting = 100 + (v_lighting * people);
			lighting == v_lighting;
			
			// v_sound == 0 ? sound = 0 : sound = 100 + (v_sound * people);
			sound = v_sound;
			
			// v_noise == 0 ? noise = 0 : noise = 100 + (v_noise * people);
			noise = v_noise;
			
			costumes = v_costumes * people;
			foodHost = v_foodHost * guests;
			foodPro = v_foodPro * guests * seasonalAdj * daytimeAdj * stateAdj;
			
			// v_chef == 0 ? chef = 0 : chef = (100 + (v_chef * guests)) * daytimeAdj;
			chef = v_chef * daytimeAdj;
			
			// server = v_server * guests * daytimeAdj;
			server = v_server * guests / 20 * daytimeAdj;
			
			// barPerson = v_barPerson * guests * daytimeAdj;
			barPerson = v_barPerson * guests / 80 * daytimeAdj;
			
			wine = v_wine * adults;
			beer = v_beer * adults;
			alcohol = v_alcohol * adults;
			softDrinks = v_softDrinks * people;
			hotDrinks = v_hotDrinks * people;
			ice = v_ice * people;
			photoHost = v_photoHost * people;
			
			/*/
			if (v_photoPro == 0) photoPro = 0;
			else if (v_photoPro == 2) photoPro = 500 + 2 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_photoPro == 3) photoPro = 800 + 3 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_photoPro == 4) photoPro = 1200 + 3 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_photoPro == 5) photoPro = 1500 + 5 * people * seasonalAdj * daytimeAdj * stateAdj;
			//*/
			
			photoPro = v_photoPro * seasonalAdj * daytimeAdj * stateAdj;
			
			videoHost = v_videoHost * people;
			
			/*/
			if (v_videoPro == 0) videoPro = 0;
			else if (v_videoPro == 2) videoPro = 300 + 2 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_videoPro == 3) videoPro = 500 + 3 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_videoPro == 4) videoPro = 1500 + 4 * people * seasonalAdj * daytimeAdj * stateAdj;
			else if (v_videoPro == 5) videoPro = 2000 + 5 * people * seasonalAdj * daytimeAdj * stateAdj;
			//*/
			
			videoPro = v_videoPro * seasonalAdj * daytimeAdj * stateAdj;
			
			// gifts = v_gifts * people;
			gifts = v_gifts;
			
			plastic = v_plastic * people;

			// china = v_china * people;
			china = v_china;
			
			// paper = v_paper * people;
			paper = v_paper;
			
			// cloth = v_cloth * people;
			cloth = v_cloth;
			
			dance = dance;
			stage = stage;
			tent = tent;
			heaters = v_heaters * 80;
			thankYou = v_thankYou * people;
			
			
			total = 0;
			total += locationWFood;
			total += locationNFood;
			total += locationHome;
			total += invitation;
			total += transportGuests;
			total += transportHost;
			total += dj;
			total += band;
			total += talent;
			total += equipment;
			total += clergymen;
			total += valet;
			total += security;
			total += decoration;
			total += flowers;
			total += balloons;
			total += lighting;
			total += sound;
			total += noise;
			total += costumes;
			total += foodHost;
			total += foodPro;
			total += chef;
			total += server;
			total += barPerson;
			total += wine;
			total += beer;
			total += alcohol;
			total += softDrinks;
			total += hotDrinks;
			total += ice;
			total += photoHost;
			total += photoPro;
			total += videoHost;
			total += videoPro;
			total += gifts;
			total += plastic;
			total += china;
			total += paper;
			total += cloth;
			total += tables;
			total += dance;
			total += stage;
			total += tent;
			total += heaters;
			total += thankYou;
			
			total += bridalGown;
			total += tuxedo;
			total += eventCoordinator;
			total += weddCoordinator;
			
			updateVariable('locationWFood',locationWFood,'');
			updateVariable('locationNFood',locationNFood,'');
			updateVariable('locationHome',locationHome,'');
			updateVariable('invitation',invitation,'');
			updateVariable('transportGuests',transportGuests,'');
			updateVariable('transportHost',transportHost,'');
			updateVariable('dj',dj,'');
			updateVariable('band',band,'');
			updateVariable('talent',talent,'');
			updateVariable('equipment',equipment,'');
			updateVariable('clergymen',clergymen,'');
			updateVariable('valet',valet,'');
			updateVariable('security',security,'');
			updateVariable('decoration',decoration,'');
			updateVariable('flowers',flowers,'');
			updateVariable('balloons',balloons,'');
			updateVariable('lighting',lighting,'');
			updateVariable('sound',sound,'');
			updateVariable('noise',noise,'');
			updateVariable('costumes',costumes,'');
			updateVariable('foodHost',foodHost,'');
			updateVariable('foodPro',foodPro,'');
			updateVariable('chef',chef,'');
			updateVariable('server',server,'');
			updateVariable('barPerson',barPerson,'');
			updateVariable('wine',wine,'');
			updateVariable('beer',beer,'');
			updateVariable('alcohol',alcohol,'');
			updateVariable('softDrinks',softDrinks,'');
			updateVariable('hotDrinks',hotDrinks,'');
			updateVariable('ice',ice,'');
			updateVariable('photoHost',photoHost,'');
			updateVariable('photoPro',photoPro,'');
			updateVariable('videoHost',videoHost,'');
			updateVariable('videoPro',videoPro,'');
			updateVariable('gifts',gifts,'');
			updateVariable('plastic',plastic,'');
			updateVariable('china',china,'');
			updateVariable('paper',paper,'');
			updateVariable('cloth',cloth,'');
			updateVariable('tables',tables,'');
			updateVariable('dance',dance,'');
			updateVariable('stage',stage,'');
			updateVariable('tent',tent,'');
			updateVariable('heaters',heaters,'');
			updateVariable('thankYou',thankYou,'');
			
			updateVariable('bridalGown',bridalGown,'');
			updateVariable('tuxedo',tuxedo,'');
			updateVariable('eventCoordinator',eventCoordinator,'');
			updateVariable('weddCoordinator',weddCoordinator,'');
			total = Math.round(total);
			
			
			document.budget['s_total1'].value = '' + total;
			document.budget['s_total2'].value = '' + total;
			
		}
		
		
		function setVendor(category, level) {
			if (level > 0) {
				/*
				var vName = "Vendor " + vID;
				
				var newElem = document.createElement("a");
				var vLink = "javascript:showVendor(" + vID + ");";
				newElem.setAttribute("href",vLink);
				
				var newText = document.createTextNode(vName);
				
				newElem.appendChild(newText);
				var cell = document.getElementById("ven_" + category);
				
				cell.replaceChild(newElem, cell.childNodes[0]);
				
				document.budget['vid_' + category].value = eval(vID);
				*/
				if (document.budget['ven_' + category + '_' + level] != undefined) {
					var vInfo = document.budget['ven_' + category + '_' + level].value.split(';');
					var vID = vInfo[0];
					var vName = vInfo[1];
					
					var newElem = document.createElement("a");
					var vLink = "javascript:showVendor(" + vID + ");";
					newElem.setAttribute("href",vLink);
					
					var newText = document.createTextNode(vName);
					
					newElem.appendChild(newText);
					var cell = document.getElementById("ven_" + category);
					
					cell.replaceChild(newElem, cell.childNodes[0]);
					
					document.budget['vid_' + category].value = eval(vID);
					
					
				//	alert("ID: " + vID + " : " + vName);
				} else {
				//	alert("undefined");
				}
			}
		}
		
		function showVendor(vID) {
			if (vID > 0) {
				var theURL = "http://www.partypop.com/vendors/" + vID + ".htm?source=calculator";
				var newWin = window.open(theURL, "vendor", "resizable=yes,height=540,width=720,scrollbars");
				newWin.focus();
			}
		}
		
	// -->
