var index=0;

var i="";
function show_details(index,tbl)
{
		window.open("http://www.realestate-kolkata.com/details.asp?list_id="+index+"&table_name="+tbl,"","scrollbars=yes,width=600,height=600,resizable=yes");
/*
	if(index=="FF2")
	{
		window.open("FF002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FF3")
	{
		window.open("FF003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- FR Code Section -------------------------------
	if(index=="FR1")
	{
		window.open("FR001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR2")
	{
		window.open("FR002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR3")
	{
		window.open("FR003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR4")
	{
		window.open("FR004.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR5")
	{
		window.open("FR005.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR6")
	{
		window.open("FR006.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR7")
	{
		window.open("FR007.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR8")
	{
		window.open("FR008.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR9")
	{
		window.open("FR009.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR10")
	{
		window.open("FR010.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR11")
	{
		window.open("FR011.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR12")
	{
		window.open("FR012.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FR13")
	{
		window.open("FR013.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}

	//-------------------------------------- X -----------------------------------------

	//--------------------------------- OS Code Section -------------------------------
	if(index=="OS1")
	{
		window.open("OS001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="OS2")
	{
		window.open("OS002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="OS3")
	{
		window.open("OS003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="OS4")
	{
		window.open("OS004.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="OS5")
	{
		window.open("OS005.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- RS Code Section -------------------------------
	if(index=="RS1")
	{
		window.open("RS001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------



	//--------------------------------- FS Code Section -------------------------------

	if(index=="FS1")
	{
		window.open("FS002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS2")
	{
		window.open("FS003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS3")
	{
		window.open("FS004.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS4")
	{
		window.open("FS005.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS5")
	{
		window.open("FS006.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS6")
	{
		window.open("FS007.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS7")
	{
		window.open("FS008.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS8")
	{
		window.open("FS009.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS9")
	{
		window.open("FS010.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="FS10")
	{
		window.open("FS011.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- HS Code Section -------------------------------
	if(index=="HS1")
	{
		window.open("HS001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="HS2")
	{
		window.open("HS002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="HS3")
	{
		window.open("HS003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="HS4")
	{
		window.open("HS004.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- LS Code Section -------------------------------
	if(index=="LS1")
	{
		window.open("LS002.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="LS2")
	{
		window.open("LS003.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	if(index=="LS3")
	{
		window.open("LS004.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- GH Code Section -------------------------------
	if(index=="GH1")
	{
		window.open("GH001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- GD Code Section -------------------------------
	if(index=="GD1")
	{
		window.open("GD001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------

	//--------------------------------- OTH Code Section -------------------------------
	if(index=="OTH1")
	{
		window.open("OTH001.htm","","scrollbars=yes,width=600,height=600,resizable=yes");
	}
	//-------------------------------------- X -----------------------------------------
*/
}

function show_details2(index2)
{
		window.open("http://www.realestate-kolkata.com/buy_details.asp?list_id="+index2,"","scrollbars=yes,width=600,height=600,resizable=yes");
}


function show_form(i)
{
	if(i=="FR")
	{
		window.open('flats_form.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="FF")
	{
		window.open('furnished_flats_form.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="FS")
	{
		window.open('flats_sale_form.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="LS")
	{
		window.open('lands_sale_form.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="OS")
	{
		window.open('office_rent_form.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="GH")
	{
		window.open('gh.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="GD")
	{
		window.open('gd.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="HR")
	{
		window.open('hr.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="HS")
	{
		window.open('hs.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="RS")
	{
		window.open('rs.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="list")
	{
		window.open('list_add.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}
	if(i=="advance")
	{
		window.open('search_add.asp','','scrollbars=yes,width=650,height=550,resizable=yes');
	}

}
