// Resolução
function Resolucao(objName,width,height){
	this.obj = objName;
	this.width = width;
	this.height = height;
};

// mostra imagem com correcta resolução
Resolucao.prototype.toString = function() {
	var str = ""
		
	if(this.width > 1152 && this.width < 1600)
		str = '<div id="container">'+
		  '<a href="?Menu=1&amp;Sub=20" style="border:none;"><img style="border:none;" src="images/intro.jpg" width="343" height="400" alt="Insidecity / Archinews - New Editorial Concepts"/></a>'+
		  '</div>';
	else if(this.width > 1600 && this.width < 1800)
		str = '<div id="container">'+
		  '<a href="?Menu=1&amp;Sub=20" style="border:none;"><img style="border:none;" src="images/intro.jpg" width="428" height="500" alt="Insidecity / Archinews - New Editorial Concepts"/></a>'+
		  '</div>';
	else if(this.width > 1800)
		str = '<div id="container">'+
		  '<a href="?Menu=1&amp;Sub=20" style="border:none;"><img style="border:none;" src="images/intro.jpg" width="514" height="600" alt="Insidecity / Archinews - New Editorial Concepts"/></a>'+
		  '</div>';
	else
		str = '<div id="container">'+
		  '<a href="?Menu=1&amp;Sub=20" style="border:none;"><img style="border:none;" src="images/intro.jpg" width="257" height="300" alt="Insidecity / Archinews - New Editorial Concepts"/></a>'+
		  '</div>';
	return str;
};

