<!--
var objHandleC1;
var objHandleC2;
var blnActiveContact=false;
function ShowContact(vOrigin){
	var strFunc="ResizeContact(10,"+vOrigin+")";
	
	if(!blnActiveContact){
		
		////if(!blnOpacityActive){
			SetOpacityMax("contact");////sjIncreaseOpacity("contact",5,0);
			document.getElementById("contact").style.zIndex=100;
			document.getElementById("contact").style.border="1px solid #ffffff";
						
			blnActiveContact=true;
			if(document.getElementById("contactmask1")){document.getElementById("contactmask1").style.display=""}
			
			document.getElementById("contact").style.display="";
			objHandleC1=window.setInterval(strFunc, 25);
			////}
		}	
		/*
		var strFunc="ExpandContact(8,2)";
		if(parseInt(document.getElementById("contact").style.left)<0){
			blnActiveContact=true;
			document.getElementById("contactmask1").style.display="";
			objHandleC1=window.setInterval(strFunc , 25)
			}
		*/
		else{HideContact(vOrigin)}
		//}
	return false;
}
function ResizeContact(vAmount,vOrigin){
	if(vOrigin==1){
		if(parseInt(document.getElementById("contact").style.left)>273){
			document.getElementById("contact").style.left=(parseInt(document.getElementById("contact").style.left)-vAmount)+"px";
			document.getElementById("contact").style.width=(parseInt(document.getElementById("contact").style.width)+ (2*vAmount))+"px";
			}
		if(parseInt(document.getElementById("contact").style.top)>123){
			document.getElementById("contact").style.top=(parseInt(document.getElementById("contact").style.top)-vAmount)+"px";
			document.getElementById("contact").style.height=(parseInt(document.getElementById("contact").style.height)+ (2*vAmount))+"px";
			}
		if((parseInt(document.getElementById("contact").style.left)<274)&&(parseInt(document.getElementById("contact").style.top)<124)){
			window.clearInterval(objHandleC1);
			
			if(window.top.hfSniffType==1){document.getElementById("contact").style.left="273px"}
			else{document.getElementById("contact").style.left="270px"}
			
			document.getElementById("contact").style.top="123px";
			document.getElementById("contact").style.width="350px";
			//document.getElementById("contact").style.height="260px";
			//document.getElementById("contact").style.focus=true;
			document.getElementById("contact").innerHTML=document.getElementById("contactdata").innerHTML;
			}
			
		}
	else{
		//alert("Resize-left="+parseInt(document.getElementById('contact').style.left)+"\nTop="+parseInt(document.getElementById('contact').style.top));
		
		
		if(document.getElementById("mmpage")){
			
			if(document.getElementById("mmpage").value=="intro"){
				if(parseInt(document.getElementById("contact").style.left)-vAmount<190){
					document.getElementById("contact").style.left="190px";
					document.getElementById("contact").style.width="343px";
					}
				else{
					document.getElementById("contact").style.left=(parseInt(document.getElementById("contact").style.left)-vAmount)+"px";
					document.getElementById("contact").style.width=(parseInt(document.getElementById("contact").style.width)+ (2*vAmount))+"px";
					}
		
				if(parseInt(document.getElementById("contact").style.top)-vAmount<120){
					document.getElementById("contact").style.top="120px";
					document.getElementById("contact").style.height="270px";
					}
				else{	
					document.getElementById("contact").style.top=(parseInt(document.getElementById("contact").style.top)-vAmount)+"px";
					document.getElementById("contact").style.height=(parseInt(document.getElementById("contact").style.height)+ (2*vAmount))+"px";
					}
				if((parseInt(document.getElementById("contact").style.left)<191)&&(parseInt(document.getElementById("contact").style.top)<121)){
					window.clearInterval(objHandleC1);
					document.getElementById("contact").style.left="190px";
					document.getElementById("contact").style.top="120px";
					document.getElementById("contact").style.width="343px";
			
					document.getElementById("contact").innerHTML=document.getElementById("contactdata").innerHTML;
					}				
				
				}
			
			} 
		else{
		
			if(parseInt(document.getElementById("contact").style.left)-vAmount<228){
				document.getElementById("contact").style.left="228px";
				document.getElementById("contact").style.width="343px";
				}
			else{
				document.getElementById("contact").style.left=(parseInt(document.getElementById("contact").style.left)-vAmount)+"px";
				document.getElementById("contact").style.width=(parseInt(document.getElementById("contact").style.width)+ (2*vAmount))+"px";
				}
		
			if(parseInt(document.getElementById("contact").style.top)-vAmount<120){
				document.getElementById("contact").style.top="120px";
				document.getElementById("contact").style.height="270px";
				}
			else{	
				document.getElementById("contact").style.top=(parseInt(document.getElementById("contact").style.top)-vAmount)+"px";
				document.getElementById("contact").style.height=(parseInt(document.getElementById("contact").style.height)+ (2*vAmount))+"px";
				}
			if((parseInt(document.getElementById("contact").style.left)<229)&&(parseInt(document.getElementById("contact").style.top)<121)){
				window.clearInterval(objHandleC1);
				document.getElementById("contact").style.left="228px";
				document.getElementById("contact").style.top="120px";
				document.getElementById("contact").style.width="343px";
			
				document.getElementById("contact").innerHTML=document.getElementById("contactdata").innerHTML;
				}
			}
		}	
}

function ExpandContact(vAmount,vLimit){
	if (parseInt(document.getElementById("contact").style.left)>parseInt(vLimit)){
		window.clearInterval(objHandleC1)
		document.getElementById("contact").style.left="2px";
		blnActiveContact=false;
		}
	else{
		document.getElementById("contact").style.left=(parseInt(document.getElementById("contact").style.left)+ parseInt(vAmount))+"px";
		}
		
	return false;	
}
function HideContact(vOrigin){
	
	if(blnActiveContact){
		//alert("Decrease");
		
		////if(!blnOpacityActive){
			SetOpacityMin("contact");////sjDecreaseOpacity("contact",-10,0);
			//document.getElementById("contact").style.zIndex=0;
			blnActiveContact=false;
		
			if(vOrigin==1){
				document.getElementById("contact").style.left="452px";
				document.getElementById("contact").style.top="255px";
				}
			else{
				if(document.getElementById("mmpage")){
					if(document.getElementById("mmpage").value=="intro"){
						document.getElementById("contact").style.left="359px";
						document.getElementById("contact").style.top="255px";
						}
					}			
				else{
					document.getElementById("contact").style.left="406px";
					document.getElementById("contact").style.top="255px";
					}
				}

			document.getElementById("contact").innerHTML="";
			document.getElementById("contact").style.width="0px";
			document.getElementById("contact").style.height="0px";
				
			if(document.getElementById("contactmask1")){document.getElementById("contactmask1").style.display="none"}
			////}
		}	
	
	/*
	if(!blnActiveContact){
		blnActiveContact=true;
		var strFunc="CollapseContact(-10,-220)";
		objHandleC2=window.setInterval(strFunc , 25);
		}
	*/
	return false;
}
function CollapseContact(vAmount,vLimit){
	if (parseInt(document.getElementById("contact").style.left)<parseInt(vLimit)){
		window.clearInterval(objHandleC2);
		document.getElementById("contact").style.left="-210px";
		blnActiveContact=false;
		document.getElementById("contactmask1").style.display="none";
		}
	else{
		document.getElementById("contact").style.left=(parseInt(document.getElementById("contact").style.left)+ parseInt(vAmount))+"px";
		}
		
	return false;	
}
-->