function dhlModel(modelId)
{
	this.intId = modelId;

	this.strImage = '';
	this.blnIsOnline = 0;
	this.strNick = 'Unknow';
	this.intAge = 0;
	this.strEyeColor = 'n/a';
	this.strHairColor = 'n/a';
	this.blnIsAudio = 0;
	this.strVideoUrl = "";
	this.strBioUrl = "";
	this.strNiche = "";
	this.blnFPS = true;
	this.arrNiche= new Array();
	this.arrSchedule= new Object();
	this.strStatus = "";
	this.fltCost = 0;
	this.blnIsHD = false;

	dhlModel.prototype.setImage = function(strImage){this.strImage = strImage;}
	dhlModel.prototype.setNick = function(strNick){this.strNick = strNick;}
	dhlModel.prototype.setAge = function(intAge){this.intAge = intAge;}
	dhlModel.prototype.setEyeColor = function(strEyeColor){this.strEyeColor = strEyeColor;}
	dhlModel.prototype.setHairColor = function(strHairColor){this.strHairColor = strHairColor;}
	dhlModel.prototype.setIsAudio = function(blnIsAudio){this.blnIsAudio = blnIsAudio;}
	dhlModel.prototype.setIsOnline = function(blnIsOnline){this.blnIsOnline = blnIsOnline;}
	dhlModel.prototype.setVideoUrl = function(strVideoUrl){this.strVideoUrl = strVideoUrl;}
	dhlModel.prototype.setBioUrl = function(strBioUrl){this.strBioUrl = strBioUrl;}
	dhlModel.prototype.setNiche = function(strNiche){this.strNiche = strNiche;}
	dhlModel.prototype.setNationality = function(strNationality){this.strNationality = strNationality;}
	dhlModel.prototype.setStatus = function(strStatus){this.strStatus = strStatus;}
	dhlModel.prototype.setNicheList = function(arrNiche){this.arrNiche = arrNiche;}
	dhlModel.prototype.setSchedule = function(arrSchedule){this.arrSchedule = arrSchedule;}
	dhlModel.prototype.setIsFPS = function(blnFPS){this.blnFPS=blnFPS;}
	dhlModel.prototype.setCost = function(fltCost){this.fltCost=fltCost;}
	dhlModel.prototype.setIsHD = function(blnIsHD){this.blnIsHD=blnIsHD;}
	
	dhlModel.prototype.getId = function(){return this.intId;}
	dhlModel.prototype.getIsOnline = function(){return this.blnIsOnline;}
	dhlModel.prototype.getAge = function(){return this.intAge;}
	dhlModel.prototype.getNiche = function(){return this.strNiche;}
	dhlModel.prototype.getImage = function(){return this.strImage;}
	dhlModel.prototype.getStatus = function(){return this.strStatus;}
	dhlModel.prototype.getBioUrl = function(){return this.strBioUrl;}
	dhlModel.prototype.getNickname = function(){return this.strNick;}
	dhlModel.prototype.getVideoUrl = function(){return this.strVideoUrl;}
	dhlModel.prototype.getEyeColor = function(){return this.strEyeColor;}
	dhlModel.prototype.getHairColor = function(){return this.strHairColor;}
	dhlModel.prototype.getSchedule = function(){return this.arrSchedule;}
	dhlModel.prototype.getNationality = function(){return this.strNationality;}
	dhlModel.prototype.getCost = function(){return this.fltCost;}
	dhlModel.prototype.isHD = function(){return this.blnIsHD;}

	dhlModel.prototype.isOnline = function(){return this.blnIsOnline;}
	dhlModel.prototype.isAudio = function(){return this.blnIsAudio;}
	dhlModel.prototype.isFPS = function(){return this.blnFPS;}

	dhlModel.prototype.isInNicheList = function(intNicheId){
		if(this.arrNiche.length>0){
			for (var intI=0; intI<this.arrNiche.length; intI++){
				if(parseInt(this.arrNiche[intI]) == parseInt(intNicheId)){
					return true;
				}
			}
		}
		return false;
	}
}

