var collection = {};
	collection.getcolors = function(productid){
		var URL = APPLICATION_URL+"collection/getcolors/"+productid+"?ajaxcall=true";		
		handleSuccess=function(o){
			getElementId("P_COLORS").innerHTML=o.responseText;
			collection.getstyle(productid);
			collection.getfirstimage(productid);
			collection.getDes(productid);
		}
		callback={success:handleSuccess,failure:this.handleFailure}		
		YAHOO.util.Connect.asyncRequest("GET",URL,callback);
 	}
	collection.getstyle = function(productid){
		var URL = APPLICATION_URL+"collection/getstyle/"+productid+"?ajaxcall=true";		
		handleSuccess=function(o){getElementId("P_STYLE").innerHTML=o.responseText;}
		callback={success:handleSuccess,failure:this.handleFailure}		
		YAHOO.util.Connect.asyncRequest("GET",URL,callback);
 	}
	collection.getfirstimage = function(productid){
		var URL = APPLICATION_URL+"collection/getfirstimage/"+productid+"?ajaxcall=true";		
		handleSuccess=function(o){getElementId("P_IMAGE").innerHTML=o.responseText;}
		callback={success:handleSuccess,failure:this.handleFailure}		
		YAHOO.util.Connect.asyncRequest("GET",URL,callback);
 	}
	collection.getlargeimage = function(imageid){
		var URL = APPLICATION_URL+"collection/getlargeimage/"+imageid+"?ajaxcall=true";		
		handleSuccess=function(o){getElementId("P_IMAGE").innerHTML=o.responseText;}
		callback={success:handleSuccess,failure:this.handleFailure}		
		YAHOO.util.Connect.asyncRequest("GET",URL,callback);
 	}
 	collection.getDes = function(productid){
		var URL = APPLICATION_URL+"collection/getdescription/"+productid+"?ajaxcall=true";		
		handleSuccess=function(o){getElementId("P_DESCRIPTION").innerHTML=o.responseText;}
		callback={success:handleSuccess,failure:this.handleFailure}		
		YAHOO.util.Connect.asyncRequest("GET",URL,callback);
 	}