/*var IMG_SERVER = 'http://img.makaan.com';
var ALERT_IMG = 'http://img.makaan.com/images/alert.gif';
var SERVER_PATH = 'http://www.makaan.com';
var IMG_SERVER_PROPERTY = 'http://www.makaan.com';
var IMG_SERVER_LOGO = 'http://www.makaan.com';*/

var IMG_SERVER = 'http://www.suratpropertysolutions.com/';
var ALERT_IMG = 'http://www.suratpropertysolutions.com/images/alert.gif';
var SERVER_PATH = 'http://www.suratpropertysolutions.com/';
var IMG_SERVER_PROPERTY = 'http://www.suratpropertysolutions.com/';
var IMG_SERVER_LOGO = 'http://www.suratpropertysolutions.com/';
//alert(IMG_SERVER);

var BODY_COLOR = '#D4EBFA';
//var borderline = '#51BAEF';
var borderline = '#FFFFFF';
if(screen.width=="800")
{
	var tablewidth = '783';
}
else
{
	var tablewidth = '1007';
}

if (screen.width>="1024")
{
	var tablewidths = '998';
	//alert(tablewidths);
}
else
{
	var tablewidths = '775';
}

function changetab(val, showhide) {
	if(showhide == true) {
	
		if(val == 'reg') {
			document.getElementById('menu-reg-mid').style.color = '#FFFFFF';
			document.getElementById('menu-reg-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-reg-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-reg-right').style.backgroundPosition = '0px -29px';

		} else if(val == 'search') {
			document.getElementById('menu-search-mid').style.color = '#FFFFFF';
			document.getElementById('menu-search-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-search-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-search-right').style.backgroundPosition = '0px -29px';

		} else if(val == 'list') {
			document.getElementById('menu-list-mid').style.color = '#FFFFFF';
			document.getElementById('menu-list-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-list-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-list-right').style.backgroundPosition = '0px -29px';

		} else if(val == 'req') {
			document.getElementById('menu-req-mid').style.color = '#FFFFFF';
			document.getElementById('menu-req-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-req-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-req-right').style.backgroundPosition = '0px -29px';

		} else if(val == 'adv') {
			document.getElementById('menu-adv-mid').style.color = '#FFFFFF';
			document.getElementById('menu-adv-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-adv-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-adv-right').style.backgroundPosition = '0px -29px';

		} else if(val == 'loan') {
			document.getElementById('menu-loan-mid').style.color = '#FFFFFF';
			document.getElementById('menu-loan-mid').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-loan-left').style.backgroundPosition = '0px -29px';
			document.getElementById('menu-loan-right').style.backgroundPosition = '0px -29px';

		}
	} else {

		if(val == 'reg') {
			document.getElementById('menu-reg-mid').style.color = '#000000';
			document.getElementById('menu-reg-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-reg-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-reg-right').style.backgroundPosition = '0px 0px';
		} else if(val == 'search') {
			document.getElementById('menu-search-mid').style.color = '#000000';
			document.getElementById('menu-search-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-search-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-search-right').style.backgroundPosition = '0px 0px';
		} else if(val == 'list') {
			document.getElementById('menu-list-mid').style.color = '#000000';
			document.getElementById('menu-list-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-list-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-list-right').style.backgroundPosition = '0px 0px';
		} else if(val == 'req') {
			document.getElementById('menu-req-mid').style.color = '#000000';
			document.getElementById('menu-req-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-req-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-req-right').style.backgroundPosition = '0px 0px';
		} else if(val == 'adv') {
			document.getElementById('menu-adv-mid').style.color = '#000000';
			document.getElementById('menu-adv-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-adv-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-adv-right').style.backgroundPosition = '0px 0px';
		} else if(val == 'loan') {
			document.getElementById('menu-loan-mid').style.color = '#000000';
			document.getElementById('menu-loan-mid').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-loan-left').style.backgroundPosition = '0px 0px';
			document.getElementById('menu-loan-right').style.backgroundPosition = '0px 0px';
		}
	}
}