function URLGen(id){
	this.id = id;
	this.genSeriesImageUrl = function(){
		return "si-"+this.mod1()+"-"+this.mod2()+"-seriesimage"+this.id+".htm";
	}
	this.genBrandUrl = function(){
		return "sb-"+this.mod1()+"-"+this.mod2()+"-brand"+this.id+".htm";
	}
	this.genSeriesUrl = function(){
		return "ss-"+this.mod1()+"-"+this.mod2()+"-series"+this.id+".htm";
	}
	this.genModelUrl = function(){
		return "sm-"+this.mod1()+"-"+this.mod2()+"-model"+this.id+".htm";
	}
	this.mod1 = function(){
		var a = (this.id+10000)%100;
		if(a < 10)
			return "0"+a;
		else
			return a;
	}
	
	this.mod2 = function(){
		var a = ((this.id+10000)-(this.id+10000)%100)/100;
		var b = a%1000;
		if(b < 100)
			return "0"+b;
		else if(b < 10)
			return "00"+b;
		else
			return b;
	}
}
