<!--
function setstate2(id)	
{
	if (id == "098_")
		{
			setstate(id);
			setcity(id);
		}
	else
		{
			setstate(id);			
		}	
}
function setstate(id)
{
	var xmlHttp;
	try
    {    // Firefox, Opera 8.0+, Safari    
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
    {    // Internet Explorer    
		try
			{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e)
			{
				try
				{
					xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch (e)
				{
					alert("Your browser does not support AJAX!");
					return false;
				}      
		    }
    }
	xmlHttp.onreadystatechange=function()
    {
		if(xmlHttp.readyState==4)
        {
			document.getElementById("div-state").innerHTML = xmlHttp.responseText;					
        }
    }
   
			xmlHttp.open("GET","setstate.asp?id=" + id,true);  
				
		
    xmlHttp.send(null); 
}


function setcity(id)
{
	var xmlHttp;
	try
    {    // Firefox, Opera 8.0+, Safari    
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
    {    // Internet Explorer    
		try
			{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e)
			{
				try
				{
					xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch (e)
				{
					alert("Your browser does not support AJAX!");
					return false;
				}      
		    }
    }
	xmlHttp.onreadystatechange=function()
    {
		if(xmlHttp.readyState==4)
        {
			document.getElementById("div-city").innerHTML = xmlHttp.responseText;					
        }
    }
    xmlHttp.open("GET","setcity.asp?id=" + id,true);   
    xmlHttp.send(null); 
}




function validNumber()
{
	if(event.keyCode < 48 || event.keyCode >57) event.keyCode=0;
}


function validMail(strEmail) //if valid mail - return true
{
	var r, re;
	var email = new String(strEmail);
	re = /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/ig;
	if(email.search(re)==0) 
		return true;
	else
		return false;	
}

function printflash(src, w, h)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'" VIEWASTEXT>');
	document.write('<param name="movie" value="'+src+'">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="'+src+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="transparent">');
	document.write('</object>');	
}

function validform()
{
	if(document.form1.fname.value=="")
	{
		alert("Insert first name");
		document.form1.fname.focus();
		return false;
	}
	if(document.form1.zip.value=="")
	{
		alert("Insert zip code");
		document.form1.zip.focus();
		return false;
	}
	if(document.form1.lname.value=="")
	{
		alert("Insert last name");
		document.form1.lname.focus();
		return false;
	}
	if(document.form1.phone.value=="")
	{
		alert("Insert phone number");
		document.form1.phone.focus();
		return false;
	}
	/*if(document.form1.mobile.value=="")
	{
		alert("Insert mobile number");
		document.form1.mobile.focus();
		return false;
	}*/
	if(document.form1.email.value=="")
	{
		alert("Insert email");
		document.form1.email.focus();
		return false;
	}
	
	if(!validMail(document.form1.email.value))
	{
		alert("Insert valid email");
		document.form1.email.select();
		return false;
	}	
	/*if(document.form1.address.value=="")
	{
		alert("Insert your address");
		document.form1.address.focus();
		return false;
	}*/
	if(document.form1.category.value=="")
	{
		alert("Select your location");
		document.form1.category.focus();
		return false;
	}
	/*
	if(document.form1.city.value=="")
	{
		alert("Insert city");
		document.form1.city.focus();
		return false;
	}
	if(document.form1.company.value=="")
	{
		alert("Insert company");
		document.form1.company.focus();
		return false;
	}
	if(document.form1.comments.value=="")
	{
		alert("Insert your comments");
		document.form1.comments.focus();
		return false;
	}*/
	document.form1.submit();
	//ThankYouAndReturn();
	/*return true;*/
}

function ThankYouAndReturn()
{
    alert("Thank you very much for your request,\nour representative will contact you shortly.");
    window.location = "http://www.solido3D.com/"
}

function show(id)
{
	document.getElementById(id).style.display="";
}
function hid(id)
{
	document.getElementById(id).style.display="none";
}
var flag = 2
var timerID = null
function ch()
{
	flttgt.filters[0].Apply()
	var arr = new Array(2);
		arr[0] =	"<table width='155' border='0' cellspacing='1' cellpadding='1' align='right'>" + 
					"<tr>" + 
						"<td align='left'><img src='images/scott.jpg' width='97' height='116'></td>" + 
					"</tr>" + 
					"<tr>" + 
						"<td class='white'>Scott Harris<br>Co-Founder of Solidworks Inc. and a member of Solido Board of Directors</td>" +
					"</tr>" +
				"</table>" +
				"The ultimate goal for 3D Printing is to print CAD models as you would a simple document. The Solido SD300Pro can print your model quietly, accurately, and inexpensively right in your office. At Solido's price point, the dream of printing prototypes is within easy reach of the design professional."+
				"<br/> The SD300Pro 3D printer <br/> is an industry game changer.";
	arr[1] =	"<table width='155' border='0' cellspacing='1' cellpadding='1' align='right'>" + 
					"<tr>" + 
						"<td align='left'><img src='images/wohlers.jpg' width='97' height='116'></td>" + 
					"</tr>" + 
					"<tr>" + 
						
						"<td class='white'>Terry Wohlers<br>Principal Consultant & President<br>Wohlers Associates, Inc.</td>" +
					"</tr>" +
				"</table>" +
				"The parts I received from Solido have been sitting on my desk for days, and after carefully studying them, I've got to say that I'm impressed—very impressed. The newest version of Solido's 3D printer, and the parts that it produces, will turn heads.";
				"<br/>";	
				
				
	arr[2] =	"<table width='155' border='0' cellspacing='1' cellpadding='1' align='right'>" + 
					"<tr>" + 
						"<td align='left'><img src='images/JR2008HeadShot.JPG' width='97' height='116'></td>" + 
					"</tr>" + 
					"<tr>" + 
						"<td class='white'>Jeffrey Rowe<br>Editor - MCADCafe</td>" +
					"</tr>" +
				"</table>" +
				"Overall, I was very impressed with the Solido SD300Pro 3D printer for a number of reasons. Some of the benefits of the machine include simplicity/ease of use, low initial cost, low total cost of ownership, quality and integrity of parts (transparent, rigid, and durable), the ability to produce flexible ''living hinges,'' size and portability of the machine, and virtually no maintenance required except to replace consumables."; 	
				
	
	if(flag==1)
		flttgt.innerHTML = 	arr[0];		 
	if (flag==2)
		flttgt.innerHTML = 	arr[2];	
	if (flag==3)
		flttgt.innerHTML = 	arr[1];			 	
	if (flag==3)
	   flag=0;		   
	flag ++;
	flttgt.filters[0].Play(); 
	
		 
	
}
function mystart()
{
	timerID = window.setInterval("ch()",6000);
}
function mystop() {
    window.clearTimeout(timerID);
}
function enlarge2(id){window.open("video_see.asp?id=" + id,null,"width=570, height=500, scrollbars=0");}

//-->