
//function used by Flash to open dialogs
function doAJAX(linkName){	
	
	//	associates supplied argument with popup string

	var path;
	
	if(linkName == "view1") {path="/order/popup_renewing";}
	else if(linkName == "view2") {path="/order/popup_revitalizing";}
	else if(linkName == "view3") {path="/order/popup_repairing";}
	
		var bob = new Dialog.info(
		{url: path, options: {method: 'get'}}, 
		{
		className: "proactiv",
		width:358, 
		height:448,
		recenterAuto:false,
		closable:true,
		onShow: function(Dialog) {
			mojo.Messaging.publish('/mojo/update/flash/observers');
		}
	});
	
	
}

