<% id = request.querystring("id") code = request.querystring("code") if id = "" then id = 2381 end if paramString = "?id="&id&"&code="&code opendb() if not getOrgData(id,orgname, email,xmlemail, city, orgtype, last_upd_dt,accesscode,domainname, topbarurl,AutoPlay,volume,templateArray,template_num,status) then response.write "There was an error retrieving your data." end if closedb() %> Automotion Preview
 
<% port=tvsnumcast(request.servervariables("server_port")&"") if port=80 then port="" else port=":"&port end if if template_num > 1 then playermode = "multi" end if flash_string="http://"&request.servervariables("server_name")&port&"/flash/automotion_player?id="&id&"&code="&accesscode&"&playermode="&playermode&"&dn=http://"&request.servervariables("server_name")&port&"&autoplay="&autoplay&"&volume="&volume&"&orgname="&server.urlencode(orgname) flash_string_embed="http://"&request.servervariables("server_name")&port&"/flash/automotion_player.swf?id="&id&"&code="&accesscode&"&playermode="&playermode&"&dn=http://"&request.servervariables("server_name")&port&"&autoplay="&autoplay&"&volume="&volume&"&orgname="&server.urlencode(orgname) 'embed addition - send it it's own embed string flash_string=flash_string&"&embed_string="&server.urlencode(flash_string_embed) flash_string_embed=flash_string_embed&"&embed_string="&server.urlencode(flash_string_embed) %>