<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml>  

<head>
<meta http-equiv="Cache-Control" content="max-age=30" forua="true" />
</head>

<card id="card0" title="Savalas.TV"><do type="prev" label="Back"><prev /></do>
<p align="center"><a href="http://savalas.tv"><img src="savalastvtitle.wbmp" 
alt="Savalas.TV Mobile Page" width="120" height="22" border="0" /></a></p>
<p align="center">The official Savalas family website - Who loves ya, baby?</p>
<p align="center"><a href="default.wml">Home</a> - <a href="shop.wml">Shop</a> -
<a href="index.wml">Index</a></p>
<p align="center">Savalas.TV - the ultimate site about Telly Savalas and Kojak. Run by the Savalas 
family, Savalas.TV offers free news feeds, streaming media, live videochat, games 
and great links.</p>
<%

Function googleColor(value, random)
  Dim colorArray
  colorArray = Split(value, ",")
  googleColor = colorArray(random Mod (UBound(colorArray) + 1))
End Function

Function googleScreenRes()
  Dim screenRes, delimiter, resArray
  screenRes = Request.ServerVariables("HTTP_UA_PIXELS")
  delimiter = "x"
  If IsEmpty(screenRes) Then
    screenRes = Request.ServerVariables("HTTP_X_UP_DEVCAP_SCREENPIXELS")
    delimiter = ","
  End If
  If IsEmpty(screenRes) Then
    screenRes = Request.ServerVariables("HTTP_X_JPHONE_DISPLAY")
    delimiter = "*"
  End If
  resArray = Split(screenRes, delimiter, 2)
  If (UBound(resArray) + 1) = 2 Then
    googleScreenRes = "&u_w=" & resArray(0) & "&u_h=" & resArray(1)
  End If
End Function

Function googleMuid()
  Dim muid
  muid = Request.ServerVariables("HTTP_X_DCMGUID")
  If Not IsEmpty(muid) Then
    googleMuid = "&muid=" & muid
  End If
  muid = Request.ServerVariables("HTTP_X_UP_SUBNO")
  If Not IsEmpty(muid) Then
    googleMuid = "&muid=" & muid
  End If
  muid = Request.ServerVariables("HTTP_X_JPHONE_UID")
  If Not IsEmpty(muid) Then
    googleMuid = "&muid=" & muid
  End If
  muid = Request.ServerVariables("HTTP_X_EM_UID")
  If Not IsEmpty(muid) Then
    googleMuid = "&muid=" & muid
  End If
End Function

Dim googleTime, googleDt, googleScheme
googleTime = DateDiff("s", "01/01/1970 00:00:00", Now())
googleDt = (1000 * googleTime) + Round(1000 * (Timer - Int(Timer)))
googleScheme = "http://"
If StrComp(Request.ServerVariables("HTTPS"), "on") = 0 Then googleScheme = "https://"

Dim googleAdUrl, googleAdOutput
googleAdUrl = "http://pagead2.googlesyndication.com/pagead/ads?" &_
  "ad_type=text_image" &_
  "&channel=4479440342" &_
  "&client=ca-mb-pub-1207285482281833" &_
  "&color_border=" & googleColor("FFFFFF", googleTime) &_
  "&color_bg=" & googleColor("FFFFFF", googleTime) &_
  "&color_link=" & googleColor("AA0000", googleTime) &_
  "&color_text=" & googleColor("666666", googleTime) &_
  "&color_url=" & googleColor("333333", googleTime) &_
  "&dt=" & googleDt &_
  "&format=mobile_double" &_
  "&ip=" & Server.URLEncode(Request.ServerVariables("REMOTE_ADDR")) &_
  "&markup=xhtml" &_
  "&oe=utf8" &_
  "&output=xhtml" &_
  "&ref=" & Server.URLEncode(Request.ServerVariables("HTTP_REFERER")) &_
  "&url=" & Server.URLEncode(googleScheme & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL")) &_
  "&useragent=" & Server.URLEncode(Request.ServerVariables("HTTP_USER_AGENT")) &_
  googleScreenRes() &_
  googleMuid()

Set googleAdOutput = Server.CreateObject("MSXML2.ServerXMLHTTP")
googleAdOutput.Open "GET", googleAdUrl, false
googleAdOutput.Send
Response.Write(googleAdOutput.responseText)

%>
<p align="center"><a href="http://savalas.tv"><img src="kojak_stavros_01.wbmp" alt="Savalas.TV Mobile Page" width="100" height="100" border="0" hspace="8" /></a></p>
<p align="center"><a href="http://winksite.com/wap_generic/ms_main.cfm?susid=15262">Visit our Main 
Mobile Site</a></p>
<p align="center">Email us: <a href="mailto:nick@savalas.tv">nick@savalas.tv</a></p>
</card></wml>