﻿//General funcion for Morumbi Shopping portal
//@author: Rodolfo Araki
//@email: rodolfo@grafikonjstruct.com.br

function callMapStore(floor, luc)
{
	var mw	= 580;
	var mh	= 430;
	var sw	= self.screen.width;
	var sh	= self.screen.height;
	var wx	= (sw - mw) / 2;
	var wy	= (sh - mh) / 2;
	window.open("http://morumbishopping1.locaweb.com.br/mapa/final/mapa.asp?piso="+ floor +"&luc="+ luc, "mapa", "left="+ wx +", height="+ mh +", top="+ wy +", width="+ mw);
}

function opennewwindow(address, title, width, height)
{
	window.open(address, title,"status=0,scrollbars=1,width=" + width + ",height=" + height);
}