var config = {"urls":{"site":"http:\/\/husqvarna.italianjob.pt\/","imgs":"http:\/\/husqvarna.italianjob.pt\/imgs\/"},"messages":{"generic":{"tryAgain":"Por favor, tente novamente.","comeBack":"Volte sempre.","dbError":"Ocorreu um erro ao processar o seu pedido.","uncaughError":"N\u00e3o foi poss\u00edvel satisfazer o seu pedido devido a um erro.
Por favor tente novamente.","error404":"A p\u00e1gina que foi pedida n\u00e3o existe."}}};
$(document).ready(
function() {
String.prototype.trim = function () {
return this.replace(/^\s*/, "").replace(/\s*$/, "");
}
if($.browser.msie && $.browser.version <= 7) {
//if brand images are available center them
$("#brands img").each(
function() {
//Get image size
var imgWidth = $(this).width();
var imgHeight = $(this).height();
//Get container size
var container = $(this).parent();
var containerWidth = container.width();
var containerHeight = container.height();
var containerPos = container.position();
var top = containerPos.top + Math.floor((containerHeight / 2) - (imgHeight / 2));
var left = containerPos.left + Math.floor((containerWidth / 2) - (imgWidth / 2));
$(this).css({"position" : "absolute", "top" : top,"left" : left});
}
);
}
}
);
/**
* Fill Layer control functions and events
*/
function showFillLayer() {
if ($("#fillLayer").length <= 0) {
$("#main").after('