<%

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

Function googleViaAndAccept(googleUserAgent)
If Len(googleUserAgent) = 0 Then
Dim via
via = Server.URLEncode(Request.ServerVariables("HTTP_VIA"))
If Not IsEmpty(via) Then
googleViaAndAccept = "&via=" & via
End If
Dim accept
accept = Server.URLEncode(Request.ServerVariables("HTTP_ACCEPT"))
If Not IsEmpty(accept) Then
googleViaAndAccept = googleViaAndAccept & "&accept=" & accept
End If
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://"
googleUserAgent = Server.URLEncode(Request.ServerVariables("HTTP_USER_AGENT"))
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=9023625576" &_
"&client=ca-mb-pub-4358087609054310" &_
"&color_border=" & googleColor("6699CC", googleTime) &_
"&color_bg=" & googleColor("003366", googleTime) &_
"&color_link=" & googleColor("FFFFFF", googleTime) &_
"&color_text=" & googleColor("AECCEB", googleTime) &_
"&color_url=" & googleColor("AECCEB", googleTime) &_
"&dt=" & googleDt &_
"&format=mobile_single" &_
"&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=" & googleUserAgent &_
googleScreenRes() &_
googleMuid() &_
googleViaAndAccept(googleUserAgent)

Set googleAdOutput = Server.CreateObject("MSXML2.ServerXMLHTTP")
googleAdOutput.Open "GET", googleAdUrl, false
googleAdOutput.Send
Response.Write(googleAdOutput.responseText)

%>

Tuesday, September 22, 2009

Don`t lose your JOY!

Everyday there are opportunities in life to get upset and loose your joy and peace. There are many things that can steal your joy – people, traffic, disappointments. But if you are going to live in victory you have to have to choose the right approach to life. It's good to have plans, but submit your plans to God and decide in advance to stay in peace no matter what happens.



The Scripture says, "No man can take your joy." That means no person can make you be unhappy. No circumstance can force you to get upset. It's totally up to you. You have complete control of how peaceful and happy you want to live. When those inconveniences come, when your plans don't work out or when somebody irritates you, you can decide, "I am not going to get upset. I am not going to lose my joy. I have the power to stay in peace." Jesus put it this way in John 14:27, "Stop allowing yourself to be upset and disturbed." Notice it's a decision you have to make. Decide today to keep your joy and peace.



Change your approach and believe that God is directing your steps. Believe that you are exactly where you're supposed to be. As you do, you'll keep your joy and you will experience God's blessing, and favor, and live the life of victory He has in store!

No comments:

Post a Comment