function address(pObjID) {
	var vObj = document.getElementById(pObjID);
	var vText = 'vargati'+'mmy'+'@'+'gm'+'ail'+'.'+'c'+'om';
	vObj.href = 'mai'+'lto:'+vText;
	vObj.innerText = vText;
}

var vMenuOn = false;

function clickMenu(pMenuID, pMenuFrame, vOffset) {
	if(!vMenuOn) {
		vMenuOn = true;
		openMenu(pMenuID, pMenuFrame, vOffset);
	}
}

function openMenu(pMenuID, pMenuFrame, vOffset) {
	var vObj = document.getElementById(pMenuFrame);
	
	if((vObj.clientWidth < 400 && vOffset > 0)
	|| (vObj.clientWidth > 0   && vOffset < 0)) {
		vObj.style.width = vObj.clientWidth+vOffset;
		setTimeout("openMenu('"+pMenuID+"','"+pMenuFrame+"',"+vOffset+");",10);
	} else
	if(vObj.clientWidth <= 0) {
		vObj.style.width = 0;
		window.open(pMenuID,pMenuFrame);
		setTimeout("openMenu('"+pMenuID+"','"+pMenuFrame+"',-1*"+vOffset+");",10);
	} else
		vMenuOn = false;
}

function showPic(vObj) {
	if(vObj.style.position == 'absolute') {
		vObj.style.position = 'static';
		vObj.style.width = 80;
		vObj.style.top = 0;
		vObj.style.left = 0;
	} else {
		vObj.style.position = 'absolute';
		vObj.style.width = 240;
		vObj.style.top = 20;
		vObj.style.left = 30;
	}
}

function showPicBig(vObj) {
	if(vObj.style.position == 'absolute') {
		vObj.style.position = 'static';
		vObj.style.width = 278;
		vObj.style.top = 0;
		vObj.style.left = 0;
	} else {
		vObj.style.position = 'absolute';
		vObj.style.width = 380;
		vObj.style.top = 0;
		vObj.style.left = 0;
	}
}
