// JavaScript Document



function View_Terms()

{

	popupWindowURL('page.php?pid=6&pop_up=true','','900','500','','true','true');	

}

function Delete_Click(bidid)

{

	with(document.frmselleractivity)

	{

		if(confirm('Are you sure you want to delete Bid?'))

		{

			bid_id.value 	= bidid;

			Action.value	= 'Delete';

			submit();

		}

	}

}

function OpenImage(ImagePath)

{

	 popupWindowURL('protfolioimage.php?path='+ImagePath,'','300','250','','true','flase','false');	
	 //popImage(ImagePath,'');

}


function popupWindowURL(url, winname,  w, h, menu, resize, scroll, x, y)
{

	if (winname == null) winname = "newWindow";

	if (w == null) w = 600;

	if (h == null) h = 600;

	if (resize == null) resize = 1;

	

	menutype   = "nomenubar";

	resizetype = "noresizable";

	scrolltype = "noscrollbars";

	if (menu) menutype = "menubar";

	if (resize) resizetype = "resizable";

	if (scroll) scrolltype = "scrollbars";

	

	if (x == null || y == null) {

		cwin=window.open(url,winname,"status," + menutype + "," + scrolltype + "," + resizetype + ",width=" + w + ",height=" + h);

	}

	else {

		cwin=window.open(url,winname,"top=" + y + ",left=" + x + ",screenX=" + x + ",screenY=" + y + "," + "status," + menutype + "," + scrolltype + "," + resizetype + ",width=" + w + ",height=" + h);

	}

	if (!cwin.opener) cwin.opener=self;

	cwin.focus();

	

	return true;

}


function chk_user(user_Id)

{

	if(user_Id != '')

	{

		return true;

	}

	else

	{

		alert("Please, First Login.")

		return false;

	}

}
