<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Nope. I know about that. I'm using Firefox. I know IE7 can handle .png's. I hate IE6 - especially when I'm compensating for that crap browser when I'm using CSS.<br><br><blockquote><hr>From: williams@websawyer.com<br>Subject: Re: [UMN_MAPSERVER-USERS] Rasters, TileIndex and Shapefiles - Oh My! Now markers won't display tran<br>Date: Tue, 2 Oct 2007 08:52:12 -0600<br>To: docterrobert@MSN.COM<br><br>IE6 will not show a transparent png as transparent, only a transparent gif. Could be a browser problem!<div><br class="EC_khtml-block-placeholder"></div><div><br><div><div>On Oct 1, 2007, at 10:39 AM, Christopher Harris wrote:</div><br class="EC_Apple-interchange-newline"><blockquote><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">(Problem described on second parapraph.)</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">Alrighty...........it works! What's most exciting is that the problem that I eluded to in my last reply (the markers or points being off a few hundred yards in a circular pattern) has been fixed as a result of all your advice from earlier. I don't know if it was from me using a shapefile to describe the tile index or if it was from me adjusting lines 1 & 4 in the world file to correctly define the x and y map unit/pixel ratio. I'll play around with it and figure it out. I got it working last Friday right before I left work. Thanks a million!</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">Now - one minor issue. The markers that I'm placing all display and show up at the right spots, but they aren't displaying there transparent backgrounds. I'm using .png's, and always there's a black background being displayed. I've double checked in The GIMP and there's definitely no background. I noticed on the Mapscript API in the "Layers" class that there's a member called transparency and that it takes an int value. I know that a lot of the members that say int actually take a constant as defined in the constants section, but none of them work (MS_ON, MS_TRUE, MS_YES, MS_GD_ALPHA) and actual integers like -10 through 10 don't work either. I know the layer's type shouldn't be set to Raster. </span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">Here's the code snippets and sections where I define my marker and the layer it is on:</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker Layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(name, "Marker");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(type, MS_LAYER_POINT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(status, MS_DEFAULT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker layer class</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerclass = ms_newClassObj($markerLayer);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker layer class style</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerstyle = ms_newStyleObj($markerclass);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Sets the size of the marker. The bigger, the badder.......</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerstyle->set(size, 15);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">and</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$layer=$map->getLayerByName("Marker");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$layer->status = MS_DEFAULT;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Loop creates marker points then populates them on the map</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">for($i=0; $i<$markerCount; $i++){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Creates a point so the marker can be drawn</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i] = ms_newPointObj();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Sets that marker according to respective x,y's</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i]->setXY($mx[$i], $my[$i]);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Gives the location of the symbol to place as a marker</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $markerstyle->set(symbolname, "data/statesp020/$mi[$i]");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Draws the point using the map, layer Marker, and the image generated, and the only class it has (Index 0)</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i]->draw($map, $layer, $image, 0, "");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">}</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">Here's the rest of my php (with the code above in it):</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"><?php</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Takes the $_GET array's and keys and sets them to another array </span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$keys = array_keys($_GET);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//This loop will find all values that have a name lat, lon, and mi (marker icon) and set them to their own array</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">foreach($keys as $curvar){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> if((substr($curvar, 0, 3))=="lat"){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $my[] = $_GET[$curvar];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> }</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> if((substr($curvar, 0, 3))=="lon"){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $mx[] = $_GET[$curvar];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> }</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> if((substr($curvar, 0, 2))=="mi"){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $mi[] = $_GET[$curvar];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> }</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">}</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The count of how many points were entered in</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerCount = count($mx);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//echo "<br>The marker count is: $markerCount<br>";</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Map pic width, height parameters</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$mapwidth = $_GET['width'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$mapheight = $_GET['height'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//New point object for Zooming</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$centerpoint = ms_newPointObj();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Taking the center points of the image</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$centerX = $mapwidth/2;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$centerY = $mapheight/2;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$centerpoint->setXY($centerX, $centerY);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The zoompoint and zoomscale parameters</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$zoompoint = $_GET['zoompoint']; ZOOMPOINT ZOOMS IN ON A PIXEL</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$zoomscale = $_GET['zoomscale'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Center Coordinates passed will be in decimal degrees</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$x = $_GET['lon1'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$y = $_GET['lat1'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Create a new recObj with dd extents</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$extent = ms_newRectObj();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Set those extents</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$extent->setextent($x-.002, $y-.002, $x+.002, $y+.002);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Set the newly adjusted extent variables</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$x1 = $extent->minx;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$y1 = $extent->miny;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$x2 = $extent->maxx;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$y2 = $extent->maxy;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Upper left and lower right coordinates</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$ULx = $x1;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$ULy = $y2;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$LRx = $x2;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$LRy = $y1;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The Map Itself</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The mapfile path and map file itself</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map_path = "/var/www/mapserver/campuscomber/";</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map_file = "indexAlt.map";</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map = ms_newMapObj($map_path.$map_file);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The size of the window set by mapserver</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->setSize($mapwidth, $mapheight);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The name of the map</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->set(name, "US Universities");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$app = $_GET['app'];</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The type of image produced depending if request comes from Wap, Kiwi, or Webcomber</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">if($app=="app"){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->selectOutputFormat("GIF");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Sets the output format type</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(name, "gif");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(driver, "GD/GIF");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(mimetype, "image/gif");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(imagemode, MS_IMAGEMODE_RGB);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(extension, "gif");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">}</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">if($app=="kiwi" || $app=="web"){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->selectOutputFormat("PNG");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Sets the output format type</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(name, "png");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(driver, "GD/PNG");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(mimetype, "image/png");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(imagemode, MS_IMAGEMODE_PC256);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $map->outputformat->setOption(extension, "png");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">}</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//The color of the background</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->imagecolor->setRGB(140, 140, 140);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Tells where the US Shapefile info and images are located</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->set(shapepath, "/var/www/mapserver/campuscomber/data/statesp020/");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Sets the map projection lat/lon</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->setProjection("+proj=latlong +ellps=GRS80 +datum=NAD83");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//sets the EXTENT</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->setExtent($x1, $y1, $x2, $y2);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->set(units, MS_DD);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->set(debug, MS_ON);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Web Object which specifies the image path and the image url for the image Maperver generates</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->web->set(imagepath, "/var/www/mapserver/campuscomber/images/");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->web->set(imageurl, "/mapserver/campuscomber/images/");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//United States layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$us = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$us->set(name, "US state polygons");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$us->set(type, MS_LAYER_POLYGON);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$us->set(status, MS_DEFAULT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$us->set(data, "statesp020");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//United States layer class</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usclass = ms_newClassObj($us);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//United States layer class style</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usstyle = ms_newStyleObj($usclass);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usstyle->color->setRGB(240, 230, 140);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usstyle->set(symbol, 0);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//US Boundaries Layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usbounds = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usbounds->set(name, "US state boundaries");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usbounds->set(type, MS_LAYER_LINE);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usbounds->set(status, MS_DEFAULT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usbounds->set(data, "statesp020");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//US Boundaries layer class</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usboundsclass = ms_newClassObj($usbounds);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//US Boundaries layer class style</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usboundsstyle = ms_newStyleObj($usboundsclass);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usboundsstyle->color->setRGB(50, 50, 50);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usboundsstyle->set(size, 3);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$usboundsstyle->set(symbol, 0);$usboundsstyle->set(symbol, 0);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//University Map Layer (Actually, I don't think we even need this layer - but ehhh, who knows?)</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$university = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$university->set(name, "University of Illinois");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$university->set(type, MS_LAYER_RASTER);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$university->set(status, MS_OFF);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$university->set(data, "UofICampusMapAlt.gif");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Tiled University Map Layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles->set(name, "University of Illinois Tiles");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles->set(type, MS_LAYER_RASTER);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles->set(status, MS_DEFAULT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles->set(tileindex, "u_of_ill.shp");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$universityTiles->set(tileitem, "Location");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker Layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer = ms_newLayerObj($map);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(name, "Marker");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(type, MS_LAYER_POINT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerLayer->set(status, MS_DEFAULT);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker layer class</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerclass = ms_newClassObj($markerLayer);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Location Marker layer class style</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerstyle = ms_newStyleObj($markerclass);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Sets the size of the marker. The bigger, the badder.......</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$markerstyle->set(size, 15);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////</span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//$map->zoompoint(1, $centerpoint, $mapwidth, $mapheight, $extent);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Sets the zoom scale for zooming in and out</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$map->zoomscale($zoomscale, $centerpoint, $mapwidth, $mapheight, $extent);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Draws the image</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$image=$map->draw();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Gets the Marker Layer</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$layer=$map->getLayerByName("Marker");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$layer->status = MS_DEFAULT;</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Loop creates marker points then populates them on the map</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">for($i=0; $i<$markerCount; $i++){</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Creates a point so the marker can be drawn</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i] = ms_newPointObj();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Sets that marker according to respective x,y's</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i]->setXY($mx[$i], $my[$i]);</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Gives the location of the symbol to place as a marker</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $markerstyle->set(symbolname, "data/statesp020/$mi[$i]");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> //Draws the point using the map, layer Marker, and the image generated, and the only class it has (Index 0)</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> $marker[$i]->draw($map, $layer, $image, 0, "");</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">}</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">//Produces a url to reference the image by</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">$image_url=$image->saveWebImage();</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">echo $image_url."<br>";</span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">?></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"><html></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> <head></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> <title>Mapserver "University of Illinois"</title></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> </head></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> <body></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> <img src="<?php echo $image_url?>"></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"> </body></span><br style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"></html></span><br style="font-family: Tahoma; font-size: 13.3333px;"><br style="font-family: Tahoma; font-size: 13.3333px;"><hr style="font-family: Tahoma; font-size: 13.3333px;"><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;">Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! </span><a href="http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us" target="_blank"><span class="EC_Apple-style-span" style="color: rgb(0, 0, 238); font-family: Tahoma; font-size: 13.3333px;">Try it!</span></a><span class="EC_Apple-style-span" style="font-family: Tahoma; font-size: 13.3333px;"></span></span></blockquote></div><br></div></blockquote><br /><hr />Peek-a-boo FREE Tricks & Treats for You! <a href='http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us' target='_new'>Get 'em!</a></body>
</html>