<%

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

what is your purpose in life?

Do you ever wonder what your purpose in life is? Do you believe you are in this world for a reason and so serve a purpose? If you have a gift that is your purpose. I believe that any gift you have should be used in a positive way in your life as well as others lives. A gift could be a verbal talent or a physical talent an area where you can get people to listen in a positive way and follow. It could be a situation that you were put in for a reason only to go through it as a life learning lesson voice yourself to prepare other people to motivate them or to guide them through a similar situation or problem. I hope I am not speaking non understanding when I say this but I myself know what my talents and gifts are and I choose not to use them in a way that I should. So my new years resolution to myself is to use those gifts and talents to uphold myself and to help others as well. Because I also believe the more good you do the more good you receive in life but we don`t do good to receive we do it because we want to!

1 comment:

  1. Hey Sis, an awesome thought doing good and I came across a passage in Matthew 5:16
    "In the same way, let your light shine before others, so that they may see your good works and give glory to your Father who is in heaven." I am thinking that these light possessors are now to be light transmitters! Let your actions speak louder than your words. Let your actions open a door of opportunity to speak forth the gospel. Your true reward will be in heaven because of the good you give!

    ReplyDelete