Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Testimonials from Database (MYSQL PHP) Problem

Posted on 2006-04-22
19
Medium Priority
?
463 Views
Last Modified: 2010-04-25
Hi All,
This is a fairly simple problem just don't know the exact code to put in and where. I have a testimonals section scrolling on the side of a page. At the moment I have it set up to display just text I entered but I would like if it could draw the text from a database. I have a database set up with entries to use (Table: feedback_table, Fields: feedback_id and feedback_text and approved). So from the database I want it to display only the records where approved =  1 . I'm using PHP and MYSQL.
Can anyone help? Here is the code I have so far for the scroller that works fine.
Thanks,
Derek

 <marquee loop="infinite" behavior="scroll" direction="up" height="95px" width="205" scrollamount="1" scrolldelay="65" truespeed="" onmouseover="this.stop()" onmouseout="this.start()"><a href="" title="Sample" onmouseover="self.status='Sample'; return true;"  return true;" ;="">Sample</a> <a href="" title="Sample" onmouseover="self.status='IE Domain Names'; return true;" onmouseout="self.status=' '; return true;" ;="">Sample Text<br><br></a> <br><br>    </marquee>
0
Comment
Question by:dereksheahan
  • 10
  • 9
19 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16516159
Hi Derek,

Where will the marquee be pulling the values from?  All you should need to do is create a seperate page with your recordset and a repeat region so all approved records display on that page.  Then have the marquee call that page using a php include.

Something like:

<MARQUEE>

<?php include('yourcommentsfile.php'); ?>

</MARQUEE>

Not sure where you would place it admist all that javascript, but that's the general idea.

On a related note, you do know that marquee is deprecated and has varied support among all the browsers, right?
0
 

Author Comment

by:dereksheahan
ID: 16517265
Hi Jason,
Thanks for your help. No I wasn't aware that marquee was no longer widely supported and I am open to other ways of displaying the information?
Cheers,
Derek
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16517332
Depends on whether or not you want it to auto-scroll or not.  If not, then stick the information inside a div tag and set it to vertical overflow and scrolling.  If you want it to auto-scroll, I'll have to do some extra research to figure it out.  Flash springs to mind, but I don't know if that's a valid solution for you.
0
Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

 

Author Comment

by:dereksheahan
ID: 16521198
Hi Jason,
Yeah I think I'd like it scrolling. If you have any other suggestions other the marquee method then that'd be great.
Thanks,
Derek
0
 

Author Comment

by:dereksheahan
ID: 16521239
I'd like to avoid using Flash for this site if possible
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16521875
If not Flash, then I would go with a pure javascript solution, such as this one:

http://www.scriptasylum.com/scrollers/marquee/mq_horizontal.html
0
 

Author Comment

by:dereksheahan
ID: 16534740
Hi Jason,
I now have the replacement marquee in the header of the page. The only that remains is displaying the dynamic text from the database into the scroller. I've tried setting up a record-set on the page and displaying the results in the var content of  the scroller like so
 var content = <?php echo $row_rsFeedback['feed_feedback_text']; ?> - <?php echo $row_rsFeedback['feed_name']; ?>
Obviously, in the above code I want the Feedback text to be displayed and followed each time by the name of the feedback poster.
when I refresh the page with this code the scroller no longer appears?  Is is possible to include php code in this section? If not, then what do you think is the best way to access this info from the database?
Much obliged,
Derek
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16536005
In theory, you should be able to insert the code there.  I didn't look too closely at it before, but I see now heavy use of single quotes in the text values which might screw up the PHP calls.

It may be that you should preprocess the testimonials and assign it to a variable in the javascript and then call that variable in the scroller.  
0
 

Author Comment

by:dereksheahan
ID: 16536078
I'm not too familiar with the Javascript langauge. How would I assign these variables and then call them from the database?
Thanks,
Derek  
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16536094
I was afraid you'd ask that :)

Post the entire page code, please.  I'll need to futz with it on this end.
0
 

Author Comment

by:dereksheahan
ID: 16536159
Thanks a mil! So.. the first section contains the insert of the script you suggested and below it is the call to the database.


<script language="javascript">
/*******************************************
Vertical Scroller (Marquee Replacement) v-1.3
Brian Gosselin - http://scriptasylum.com

Version notes:
V-1.0: Initial release.
V-1.1: Fixed bug in NS6 where page shrinks and grows as
       content scrolls. You no longer have to specify
       content height, the script does this for you.
V-1.2: Fixed a bug in NS4 where scrolling content would
       dictate the bottom boundary of box script.
V-1.3: Added selectable support for pausing the scrolling
       when box moused-over.
*******************************************/

//ENTER CONTENT TO SCROLL BELOW.
var content=<?php echo $row_rsFeedback['feed_feedback_text']; ?> - <?php echo $row_rsFeedback['feed_name']; ?>;

var boxheight=150;        // BACKGROUND BOX HEIGHT IN PIXELS.
var boxwidth=300;         // BACKGROUND BOX WIDTH IN PIXELS.
var boxcolor="#FFF6e9";   // BACKGROUND BOX COLOR.
var speed=50;             // SPEED OF SCROLL IN MILLISECONDS (1 SECOND=1000 MILLISECONDS)..
var pixelstep=1;          // PIXELS "STEPS" PER REPITITION.
var godown=false;         // TOP TO BOTTOM=TRUE , BOTTOM TO TOP=FALSE
var pauseOnmouseover=true; //SET TO "true" TO ENABLE PAUSE WHEN MOUSEOVER, "false" TO DISABLE IT.

// DO NOT EDIT BEYOND THIS POINT

var outer,inner,elementheight,ref,refX,refY;
var w3c=(document.getElementById)?true:false;
var ns4=(document.layers)?true:false;
var ie4=(document.all && !w3c)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns6=(w3c && navigator.appName.indexOf("Netscape")>=0)?true:false;
var txt='';
var goscroll=true;
if(ns4){
txt+='<table cellpadding=0 cellspacing=0 border=0 height='+boxheight+' width='+boxwidth+'><tr><td>';
txt+='<ilayer name="ref" bgcolor="'+boxcolor+'" width='+boxwidth+' height='+boxheight+'></ilayer>';
txt+='</td></tr></table>'
txt+='<layer name="outer" bgcolor="'+boxcolor+'" visibility="hidden" width='+boxwidth+' height='+boxheight+' '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+='<layer  name="inner"  width='+(boxwidth-4)+' height='+(boxheight-4)+' visibility="hidden" left="2" top="2" >'+content+'</layer>';
txt+='</layer>';
}else{
txt+='<div id="ref" style="position:relative; width:'+boxwidth+'; height:'+boxheight+'; background-color:'+boxcolor+';"></div>';
txt+='<div id="outer" style="position:absolute; width:'+boxwidth+'; height:'+boxheight+'; visibility:hidden; background-color:'+boxcolor+'; overflow:hidden"  '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+='<div id="inner"  style="position:absolute; visibility:hidden; left:2px; top:2px; width:'+(boxwidth-4)+'; overflow:hidden; cursor:default;" '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>'+content+'</div>';
txt+='</div>';
}
document.write(txt);
txt='';

function getElHeight(el){
if(ns4)return (el.document.height)? el.document.height : el.clip.bottom-el.clip.top;
else if(ie4||ie5)return (el.style.height)? el.style.height : el.clientHeight;
else return (el.style.height)? parseInt(el.style.height):parseInt(el.offsetHeight);
}

function getPageLeft(el){
var x;
if(ns4)return el.pageX;
if(ie4||w3c){
x = 0;
while(el.offsetParent!=null){
x+=el.offsetLeft;
el=el.offsetParent;
}
x+=el.offsetLeft;
return x;
}}

function getPageTop(el){
var y;
if(ns4)return el.pageY;
if(ie4||w3c){
y=0;
while(el.offsetParent!=null){
y+=el.offsetTop;
el=el.offsetParent;
}
y+=el.offsetTop;
return y;
}}

function scrollbox(){
if(goscroll){
if(ns4){
inner.top+=(godown)? pixelstep: -pixelstep;
if(godown){
if(inner.top>boxheight)inner.top=-elementheight;
}else{
if(inner.top<2-elementheight)inner.top=boxheight+2;
}}else{
inner.style.top=parseInt(inner.style.top)+((godown)? pixelstep: -pixelstep)+'px';
if(godown){
if(parseInt(inner.style.top)>boxheight)inner.style.top=-elementheight+'px';
}else{
if(parseInt(inner.style.top)<2-elementheight)inner.style.top=boxheight+2+'px';
}}}}

window.onresize=function(){
if(ns4)setTimeout('history.go(0)', 400);
else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
}}

window.onload=function(){
outer=(ns4)?document.layers['outer']:(ie4)?document.all['outer']:document.getElementById('outer');
inner=(ns4)?outer.document.layers['inner']:(ie4)?document.all['inner']:document.getElementById('inner');
ref=(ns4)?document.layers['ref']:(ie4)?document.all['ref']:document.getElementById('ref');
elementheight=getElHeight(inner);
if(ns4){
outer.moveTo(getPageLeft(ref),getPageTop(ref));
outer.clip.width=boxwidth;
outer.clip.height=boxheight;
inner.top=(godown)? -elementheight : boxheight-2;
inner.clip.width=boxwidth-4;
inner.clip.height=elementheight;
outer.visibility="show";
inner.visibility="show";
}else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
inner.style.top=((godown)? -elementheight : boxheight)+'px';
inner.style.clip='rect(0px, '+(boxwidth-4)+'px, '+(elementheight)+'px, 0px)';
outer.style.visibility="visible";
inner.style.visibility="visible";
}
setInterval('scrollbox()',speed);
}

</script>

<?php require_once('Connections/GSM_mobile.php'); ?>
<?php
mysql_select_db($database_GSM_mobile, $GSM_mobile);
$query_rsFeedback = "SELECT feed_feedback_text, online, feedback_table.feed_name FROM feedback_table WHERE feedback_table.online = 1";
$rsFeedback = mysql_query($query_rsFeedback, $GSM_mobile) or die(mysql_error());
$row_rsFeedback = mysql_fetch_assoc($rsFeedback);
$totalRows_rsFeedback = mysql_num_rows($rsFeedback);
?>

<style type="text/css">
<!--
.style1 {font-size: 9px}
-->
</style><form id="form1" name="form1" method="post" action="">
  <?php do { ?>
    <p></p>
    <?php } while ($row_rsFeedback = mysql_fetch_assoc($rsFeedback)); ?><p>
    <label></label>
</p>
  <p>&nbsp;</p>
</form>
<p>
  <?php
mysql_free_result($rsFeedback);
?>
</p>
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16536596
Okay, you have things a little backwards.  Also, I needed the entire page source, not just selected sections.  It makes it easier to see if you have stuff in the right place or not.

The following appears to write correct code.  If it still doesn't work, it may an issue with this javascript that is beyond my ability to troubleshoot.  Cut and paste the whole thing to test it.  Use view-source on the published page to check and see if the call to the database is processed...you should see the var content variable filled out with testimonials.:

<?php require_once('Connections/GSM_mobile.php'); ?>
<?php
mysql_select_db($database_GSM_mobile, $GSM_mobile);
$query_rsFeedback = "SELECT feed_feedback_text, online, feedback_table.feed_name FROM feedback_table WHERE feedback_table.online = 1";
$rsFeedback = mysql_query($query_rsFeedback, $GSM_mobile) or die(mysql_error());
$row_rsFeedback = mysql_fetch_assoc($rsFeedback);
$totalRows_rsFeedback = mysql_num_rows($rsFeedback);

//change below.  Added a loop to output the contents of the recordset

do {
$content .= $row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name'];
} while ($row_rsFeedback = mysql_fetch_assoc($rsFeedback));

?>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
</head>

<body>

<table cellpadding=0 cellspacing=0 border=1><tr><td>

<script language="javascript">
/*******************************************
Horizontal Scroller (Marquee Replacement) v-1.2
Brian Gosselin - http://scritpasylum.com

Version info:

V-1.0: Initial release.
V-1.1: Fixed a bug where the content causes parent container
       element to shrink and grow in NS6.
V-1.2: Added selectable support for pausing the scrolling
       when box moused-over.
*******************************************/

//ENTER CONTENT TO SCROLL BELOW.
// So here we add the PHP variable from the loop above.  This should write the content to the javascript.

var content='<?php echo $content; ?>';

var boxheight=45;          //BACKGROUND BOX HEIGHT IN PIXELS.
var boxwidth=390;          //BACKGROUND BOX WIDTH IN PIXELS.
var boxcolor="#FFF6e9";    //BACKGROUND BOX COLOR.
var speed=60;              //SPEED OF SCROLL IN MILLISECONDS (1 SECOND=1000 MILLISECONDS)..
var pixelstep=2;           //PIXELS "STEPS" PER REPITITION.
var goright=false;         //LEFT TO RIGHT=TRUE , RIGHT TO LEFT=FALSE
var pauseOnmouseover=true; //SET TO "true" TO ENABLE PAUSE WHEN MOUSEOVER, "false" TO DISABLE IT.

//** DO NOT EDIT BEYOND THIS POINT **
var outer,inner,ref,elementwidth;
var w3c=(document.getElementById)?true:false;
var ns4=(document.layers)?true:false;
var ie4=(document.all && !w3c)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns6=(w3c && navigator.appName.indexOf("Netscape")>=0)?true:false;
var txt='';
var goscroll=true;
if(ns4){
txt+='<table cellpadding=0 cellspacing=0 border=0 height='+boxheight+' width='+boxwidth+'><tr><td>';
txt+='<ilayer name="ref" bgcolor="'+boxcolor+'" width="'+boxwidth+'" height="'+boxheight+'"></ilayer>';
txt+='</td></tr></table>';
txt+='<layer name="outer" bgcolor="'+boxcolor+'" visibility="hidden" width="'+boxwidth+'" height="'+boxheight+'" '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+='<layer name="inner"  visibility="hidden" left="2" top="2">';
txt+=content;
txt+='</layer></layer>';
}else{
txt+='<div id="ref" style="position:relative; width:'+boxwidth+'; height:'+boxheight+'; visibility:visible; background-color:'+boxcolor+';" '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'></div>';
txt+='<div id="outer" style="position:absolute; width:'+boxwidth+'; height:'+boxheight+'; visibility:hidden; background-color:'+boxcolor+'; overflow:hidden;">';
txt+='<div id="inner"  style="position:absolute; visibility:hidden; left:2px; top:2px; overflow:hidden; cursor:default;" '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+=content;
txt+='</div></div>';
}
document.write(txt);
txt=0;

function getPageLeft(el){
var x;
if(ns4)return el.pageX;
if(ie4||w3c){
x = 0;
while(el.offsetParent!=null){
x+=el.offsetLeft;
el=el.offsetParent;
}
x+=el.offsetLeft;
return x;
}}

function getPageTop(el){
var y;
if(ns4)return el.pageY;
if(ie4||w3c){
y=0;
while(el.offsetParent!=null){
y+=el.offsetTop;
el=el.offsetParent;
}
y+=el.offsetTop;
return y;
}}

function getElWidth(el){
if(ns4)return (el.document.width)? el.document.width : el.clip.right-el.clip.left;
else if(ie4||ie5)return (el.style.width)? el.style.width:el.clientWidth;
else if(w3c)return (el.style.width)?parseInt(el.style.width):parseInt(el.offsetWidth);
else return -1;
}

window.onresize=function(){
if(ns4)setTimeout('history.go(0)', 400);
else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
}}

function scrollbox(){
if(goscroll){
if(ns4){
inner.left+=(goright)? pixelstep: -pixelstep;
inner.clip.right=(boxwidth-inner.left-2>boxwidth)? boxwidth-2 : boxwidth-inner.left-2;
inner.clip.left=-inner.left+2;
if(goright){
if(inner.left>boxwidth)inner.left=-elementwidth;
}else{
if(inner.left<-elementwidth)inner.left=boxwidth+2;
}}else{
inner.style.left=parseInt(inner.style.left)+((goright)? pixelstep: -pixelstep)+'px';
if(goright){
if(parseInt(inner.style.left)>boxwidth)inner.style.left=-elementwidth+'px';
}else{
if(parseInt(inner.style.left)<-elementwidth)inner.style.left=boxwidth+2+'px';
}}}}

window.onload=function(){
ref=(ns4)?document.layers['ref']:(ie4)?document.all['ref']:document.getElementById('ref');
outer=(ns4)?document.layers['outer']:(ie4)?document.all['outer']:document.getElementById('outer');
inner=(ns4)?outer.document.layers['inner']:(ie4)?document.all['inner']:document.getElementById('inner');
elementwidth=getElWidth(inner);
if(ns4){
outer.clip.width=boxwidth;
outer.clip.height=boxheight;
outer.moveTo(getPageLeft(ref),getPageTop(ref));
inner.left=(goright)? -elementwidth : boxwidth-2;
inner.clip.width=0
inner.clip.height=boxheight-4;
outer.visibility="show";
inner.visibility="show";
}else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
inner.style.width=elementwidth+'px';
inner.style.left=((goright)? -elementwidth : boxwidth-2)+'px';
inner.style.visibility="visible";
}
setInterval('scrollbox()',speed);
}
</script>


</td></tr></table>

</body>

</html>
<?php
mysql_free_result($rsFeedback);
?>
0
 

Author Comment

by:dereksheahan
ID: 16542427
Thanks Jason that works! The only thing is I need the text from the database formatted. I've tried inserting the \n command in numerous places and also the nl2br command for php. Where do I put this code so that each testimonial has a line break after it? Also, I want to put the feed_feedback_text in quotations and not the feed_feedback_name section. Where do I put the  &quot; tag ?
Cheers,
Derek
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 1800 total points
ID: 16545956
You do that in this part of the code:

//change below.  Added a loop to output the contents of the recordset

do {

$content .= $row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name'];

} while ($row_rsFeedback = mysql_fetch_assoc($rsFeedback));

?>

See where I am assigning the values from the database to $content?  You can add anything you want here using the dot concatenator.

Line break?  

$content .= $row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name']."<br>";

Quotes around the text?

$content .= "$quote;".$row_rsFeedback['feed_feedback_text']."&quot; - ".$row_rsFeedback['feed_name'];

And so on.

0
 

Author Comment

by:dereksheahan
ID: 16557913
Hi Jason,
Thanks for That. Got the line breaks working correctly but can't seem to figure out the quotations.
I presume you make a typeo in the above when you said $quote instead of $quot? I've tried lots of different ways but can't seem to get the quotations working.
When I try this:
$content .= $quot;$row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name']. "<br>"."<br>";

no information is displayed from the database.

When I try this:
$content .= "$quot;"$row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name']. "<br>"."<br>";

the screen returns blank

When I try this:
$content .= "$quot;".$row_rsFeedback['feed_feedback_text']." - ".$row_rsFeedback['feed_name']. "<br>"."<br>";

all I get is a semi-colon at the start of the text.

Any ideas??

Thanks,
Derek
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16558614
Derek,

My bad on a couple of things.  Yes, $quote is a typo...too much PHP coding ruins the mind for hand-coding HTML.

I got trapped into your thinking of using HTML entities for quotes.

The problem here is that the HTML entities include a semi-colon, which is also the PHP line terminator.  Does it have to be double-quotes?  If not, try:

$content .= "'".$row_rsFeedback['feed_feedback_text']."' - ".$row_rsFeedback['feed_name']."<br><br>"

That will put a single quote around the text and is the easiest solution.

If you want double quotes, try:

$content .= "\"".$row_rsFeedback['feed_feedback_text']."\" - ".$row_rsFeedback['feed_name']."<br><br>"

The backslash should escape the double quote and print it to the variable.  Alternately, this should work:

$content .= "\&quot\;".$row_rsFeedback['feed_feedback_text']."\&quot\; - ".$row_rsFeedback['feed_name']."<br><br>";
0
 

Author Comment

by:dereksheahan
ID: 16569081
Thanks Jason, got the quotes working on that one. Just one final question and I think I'll be finished with the scroller. I'm trying to put the scroller into a specific part of a page. I created a div tag called "testimonial" and wish to put the scroller inside it. However, when I select the javascript and put it inside the div tag, it displays the scroller twice on the page. Once blank with no information from the database and once properly. I'm not sure how to get it to display correctly. It says in the comments for the scroller to place it in the header but that doesn't seem to work for me either. I've attached the code so you can see whats going on. Thanks a mil! (Also on a sidenote: Is it ok to have the php outside the html tags at the top of the script?)


<?php require_once('../Template/Connections/GSM_mobile.php'); ?>
<?php
mysql_select_db($database_GSM_mobile, $GSM_mobile);
$query_rsFeedback = "SELECT feed_feedback_text, online, feedback_table.feed_name FROM feedback_table WHERE feedback_table.online = 1";
$rsFeedback = mysql_query($query_rsFeedback, $GSM_mobile) or die(mysql_error());
$row_rsFeedback = mysql_fetch_assoc($rsFeedback);
$totalRows_rsFeedback = mysql_num_rows($rsFeedback);


do {
$content .= "\&quot\;".$row_rsFeedback['feed_feedback_text']."\&quot\;"." - ".$row_rsFeedback['feed_name']. "<br>"."<br>";
} while ($row_rsFeedback = mysql_fetch_assoc($rsFeedback));
?><html>

<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Template</title>
<!-- TemplateEndEditable -->
<style>
td{font-family:verdana;font-size:11px;color:B4D1E5}
a{color:#DD4411; font-size:10px; text-decoration:underline}
a:visited{color:#DD4411}
a:hover{color:blue}
.m1{padding-left:20; padding-right:20;}
.style1 {
      font-size: 14px;
      font-family: Georgia, "Times New Roman", Times, serif;
}
#Layer2 {      position:absolute;
      left:606px;
      top:228px;
      width:156px;
      height:375px;
      z-index:3;
      visibility: visible;
}
#Layer2 {      border: 1px solid #FFFFFF;
}
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif}
#Layer4 {      position:absolute;
      left:5px;
      top:226px;
      width:173px;
      height:27px;
      z-index:5;
}
#Testimonial {      position:absolute;
      width:169px;
      height:188px;
      z-index:1;
      left: 8px;
      top: 261px;
}
#Layer3 {      position:absolute;
      left:8px;
      top:452px;
      width:168px;
      height:36px;
      z-index:4;
}
#Layer1 {      position:absolute;
      left:0px;
      top:504px;
      width:182px;
      height:241px;
      z-index:2;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onLoad="MM_preloadImages('file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q1.gif','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q2.gif','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q3.gif','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q4.gif','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q5.gif','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q6.gif')">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  <tr>
        <td rowspan="10" width="1" height="100%" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/bg1222.jpg" style="background-position:right top; background-repeat:repeat-y"></td>
   
    <td colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="200">
        <param name="movie" value="../Images/GSMFlash.swf">
        <param name="quality" value="high">
        <embed src="../Images/GSMFlash.swf" width="780" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object></td>
  <td rowspan="10" width="1" height="100%" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/bg1223.jpg" style="background-position:left top; background-repeat:repeat-y"></td>
  <td rowspan="10" width="1" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/bg1223.jpg" style="background-position:left top; background-repeat:repeat-y"></td>
  </tr>
  <tr>
    <td colspan="2"><table width="400" border="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>      
    </td>
  </tr>
  <tr>
    <td height="100%" valign="top" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/back_left.gif"  width="183"><p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <div id="Testimonial">
        
<script language="javascript">
</script>
<br />
</p>
<p>
  <a href=""></a>
  <script language="javascript">/*******************************************
Vertical Scroller (Marquee Replacement) v-1.3
Brian Gosselin - http://scriptasylum.com

Version notes:
V-1.0: Initial release.
V-1.1: Fixed bug in NS6 where page shrinks and grows as
       content scrolls. You no longer have to specify
       content height, the script does this for you.
V-1.2: Fixed a bug in NS4 where scrolling content would
       dictate the bottom boundary of box script.
V-1.3: Added selectable support for pausing the scrolling
       when box moused-over.
*******************************************/

//ENTER CONTENT TO SCROLL BELOW.
var content='<?php echo $content; ?>';

var boxheight=188;        // BACKGROUND BOX HEIGHT IN PIXELS.
var boxwidth=169;         // BACKGROUND BOX WIDTH IN PIXELS.
var boxcolor="#448BBF";   // BACKGROUND BOX COLOR.
var speed=50;             // SPEED OF SCROLL IN MILLISECONDS (1 SECOND=1000 MILLISECONDS)..
var pixelstep=1;          // PIXELS "STEPS" PER REPITITION.
var godown=false;         // TOP TO BOTTOM=TRUE , BOTTOM TO TOP=FALSE
var pauseOnmouseover=true; //SET TO "true" TO ENABLE PAUSE WHEN MOUSEOVER, "false" TO DISABLE IT.

// DO NOT EDIT BEYOND THIS POINT

var outer,inner,elementheight,ref,refX,refY;
var w3c=(document.getElementById)?true:false;
var ns4=(document.layers)?true:false;
var ie4=(document.all && !w3c)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns6=(w3c && navigator.appName.indexOf("Netscape")>=0)?true:false;
var txt='';
var goscroll=true;
if(ns4){
txt+='<table cellpadding=0 cellspacing=0 border=0 height='+boxheight+' width='+boxwidth+'><tr><td>';
txt+='<ilayer name="ref" bgcolor="'+boxcolor+'" width='+boxwidth+' height='+boxheight+'></ilayer>';
txt+='</td></tr></table>'
txt+='<layer name="outer" bgcolor="'+boxcolor+'" visibility="hidden" width='+boxwidth+' height='+boxheight+' '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+='<layer  name="inner"  width='+(boxwidth-4)+' height='+(boxheight-4)+' visibility="hidden" left="2" top="2" >'+content+'</layer>';
txt+='</layer>';
}else{
txt+='<div id="ref" style="position:relative; width:'+boxwidth+'; height:'+boxheight+'; background-color:'+boxcolor+';"></div>';
txt+='<div id="outer" style="position:absolute; width:'+boxwidth+'; height:'+boxheight+'; visibility:hidden; background-color:'+boxcolor+'; overflow:hidden"  '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>';
txt+='<div id="inner"  style="position:absolute; visibility:hidden; left:2px; top:2px; width:'+(boxwidth-4)+'; overflow:hidden; cursor:default;" '+((pauseOnmouseover)? 'onmouseover="goscroll=false" onmouseout="goscroll=true"':'')+'>'+content+'</div>';
txt+='</div>';
}
document.write(txt);
txt='';

function getElHeight(el){
if(ns4)return (el.document.height)? el.document.height : el.clip.bottom-el.clip.top;
else if(ie4||ie5)return (el.style.height)? el.style.height : el.clientHeight;
else return (el.style.height)? parseInt(el.style.height):parseInt(el.offsetHeight);
}

function getPageLeft(el){
var x;
if(ns4)return el.pageX;
if(ie4||w3c){
x = 0;
while(el.offsetParent!=null){
x+=el.offsetLeft;
el=el.offsetParent;
}
x+=el.offsetLeft;
return x;
}}

function getPageTop(el){
var y;
if(ns4)return el.pageY;
if(ie4||w3c){
y=0;
while(el.offsetParent!=null){
y+=el.offsetTop;
el=el.offsetParent;
}
y+=el.offsetTop;
return y;
}}

function scrollbox(){
if(goscroll){
if(ns4){
inner.top+=(godown)? pixelstep: -pixelstep;
if(godown){
if(inner.top>boxheight)inner.top=-elementheight;
}else{
if(inner.top<2-elementheight)inner.top=boxheight+2;
}}else{
inner.style.top=parseInt(inner.style.top)+((godown)? pixelstep: -pixelstep)+'px';
if(godown){
if(parseInt(inner.style.top)>boxheight)inner.style.top=-elementheight+'px';
}else{
if(parseInt(inner.style.top)<2-elementheight)inner.style.top=boxheight+2+'px';
}}}}

window.onresize=function(){
if(ns4)setTimeout('history.go(0)', 400);
else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
}}

window.onload=function(){
outer=(ns4)?document.layers['outer']:(ie4)?document.all['outer']:document.getElementById('outer');
inner=(ns4)?outer.document.layers['inner']:(ie4)?document.all['inner']:document.getElementById('inner');
ref=(ns4)?document.layers['ref']:(ie4)?document.all['ref']:document.getElementById('ref');
elementheight=getElHeight(inner);
if(ns4){
outer.moveTo(getPageLeft(ref),getPageTop(ref));
outer.clip.width=boxwidth;
outer.clip.height=boxheight;
inner.top=(godown)? -elementheight : boxheight-2;
inner.clip.width=boxwidth-4;
inner.clip.height=elementheight;
outer.visibility="show";
inner.visibility="show";
}else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
inner.style.top=((godown)? -elementheight : boxheight)+'px';
inner.style.clip='rect(0px, '+(boxwidth-4)+'px, '+(elementheight)+'px, 0px)';
outer.style.visibility="visible";
inner.style.visibility="visible";
}
setInterval('scrollbox()',speed);
}

</script></div>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <div id="Layer3">Tell A Friend </div>
      <div id="Layer1"></div>      
      <p><span class="m1" style="padding-top:10"><br>
      </span></p></td>
    <td valign="top" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/back_right.gif" height="100%" width="597">
                <table border="0" cellpadding="0" cellspacing="0" width="399">
                <tr>
                  <td colspan="2" valign="top"><p>Please Select a Phone Type: </p>
                  <p>&nbsp;</p></td>
                </tr>
                <tr>
                  <td colspan="2" class="m1">Duis autem vel eum iriure dolor in hendrerit in vulputate velit
esse molestie consequat, vel illum dolore eu feugiat nulla facilisis
at vero eros et accumsan et iusto odio dignissim qui blandit
praesent luptatum zzril delenit augue duis dolore te feugait
nulla facilisi. </td>
                </tr>
                <tr>
                  <td colspan="2"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/midl3.gif" border="0" width="417" height="5" alt=""></td>
                </tr>
                <tr>
                  <td valign="top" width="208" class="m1" style="padding-top:10">                             
     <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp; Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <div class="style2" id="Layer4">Testimonials</div>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>                  </td>
                  <td width="191" class="m1" style="padding-top:10">                             
     <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp; Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>                  </td>
                </tr>
                 <tr>
                  <td colspan="2"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/midl2.gif" border="0" width="417" height="7" alt=""></td>
                </tr>
                 <tr>
                  <td colspan="2"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/3.gif" border="0" width="417" height="33" alt=""></td>
                </tr>
                <tr>
                  <td colspan="2" class="m1">Duis autem vel eum iriure dolor in hendrerit in vulputate velit
esse molestie consequat, vel illum dolore eu feugiat nulla facilisis
at vero eros et accumsan et iusto odio dignissim qui blandit
praesent luptatum zzril delenit augue duis dolore te feugait
nulla facilisi. </td>
                </tr>
                <tr>
                  <td colspan="2"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/midl3.gif" border="0" width="417" height="5" alt=""></td>
                </tr>
                <tr style="padding-bottom:10">
                  <td valign="top" width="208" class="m1" style="padding-top:10">                             
     <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp; Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>                  </td>
                  <td width="191" class="m1" style="padding-top:10">                             
     <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp; Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Microsoft<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Sun Microsystems<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;IBM Technologies<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Porche Advertisment<br>
      <img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/small.gif" border="0" width="11" height="11" alt="">&nbsp;&nbsp;Bla-Bl-Bla company<br>                  </td>
                </tr>                
    </table>    
                <div id="Layer2">
              <p>Our Advertisers:</p>
                  <p>&nbsp;</p>
                  <p>&nbsp; </p>
    </div></td>
  </tr>
  <tr>
    <td colspan="2"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/bottom.jpg" border="0" width="780" height="8" alt=""></td>
  </tr>
  <tr>
    <td colspan="2" background="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/footer.gif" height="41">
                <table border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td style="padding-top:20; padding-left:30; color:ffffff; font-family:tagoma; font-size:10px" valign="top">2006 (c) Copyright Cork GSM. All rights reserved.</td>      
                    <td style="padding-left:60"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image75','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q1.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q1.gif" name="Image75" width="51" height="41" border="0"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image76','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q2.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q2.gif" name="Image76" width="56" height="41" border="0"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image77','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q3.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q3.gif" name="Image77" width="53" height="41" border="0"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image78','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q4.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q4.gif" name="Image78" width="54" height="41" border="0"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image79','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q5.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q5.gif" name="Image79" width="70" height="41" border="0"></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image80','','file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q6.gif',1)"><img src="file:///C|/Documents and Settings/Maire Moynahan/My Documents/FreedomMobile/Full Sample Site/2260/with_FL/html/images/q6.gif" name="Image80" width="64" height="41" border="0"></a></td>
                  </tr>
      </table>    </td>
  </tr>  
</table>


</body>
</html>
 
 
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16569665
>> I'm not sure how to get it to display correctly.

Don't add the javascript to header despite that guy's instructions :)

If you look at his sample page, he doesn't do that.  Just place the javascript inside the div.

>> Is it ok to have the php outside the html tags at the top of the script?

Yes, that is the preferred way to do it.
0
 

Author Comment

by:dereksheahan
ID: 16595546
Thanks Jason, can't seem to figure out how to fix the repeating scroller problem. Think I'll post it as a separate question. Thanks again for all your help on it. Much Appreciated, Derek
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month21 days, 4 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question