[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

JavaScript Timer not working in Safari or Firefox

Asked by RowdyBurns in JavaScript, PHP Scripting Language

Tags: javascript, safari, working, firefox, challenges

Hi there, We have a javascript timer which is designed to output the time remaining based on 2 php variables, into a textfield on an html form.  I'm no Javascript expert, but when one of the fields given is 0000-00-00 00:00:00, we want it to say 'No challenge' - instead, it reads 'time is up' - which it is only supposed to do when the result of the two times ends up a negative number.  Any heplp solving that would be great, but the main problem is that the clocks function (apart from the above) in IE, but do not appear at all in FF or Safari.  Please help!  I have attached the whole page, so the javascript function is near the top, and the timers themselves are html forms further down, called ctime0 etc.  There are 4 timers for 4 different things.  Thanks!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
<?php
include './infolink.php';
 
$un_UserInfo = "-1";
if (isset($link)) {
  $un_UserInfo = (get_magic_quotes_gpc()) ? $link : addslashes($link);
}
mysql_select_db($database_RC, $RC);
$query_UserInfo = sprintf("SELECT * FROM users WHERE users.name='%s'", $un_UserInfo);
$UserInfo = mysql_query($query_UserInfo, $RC) or die(mysql_error());
$row_UserInfo = mysql_fetch_assoc($UserInfo);
$totalRows_UserInfo = mysql_num_rows($UserInfo);
 
 
$CID1_Challenge1Info = "-1";
if (isset($row_UserInfo['ChallengeID1'])) {
  $CID1_Challenge1Info = (get_magic_quotes_gpc()) ? $row_UserInfo['ChallengeID1'] : addslashes($row_UserInfo['ChallengeID1']);
}
mysql_select_db($database_RC, $RC);
$query_Challenge1Info = sprintf("SELECT * FROM challenges WHERE challenges.ID='%s'", $CID1_Challenge1Info);
$Challenge1Info = mysql_query($query_Challenge1Info, $RC) or die(mysql_error());
$row_Challenge1Info = mysql_fetch_assoc($Challenge1Info);
$totalRows_Challenge1Info = mysql_num_rows($Challenge1Info);
 
$CID2_Challenge2Info = "-1";
if (isset($row_UserInfo['ChallengeID2'])) {
  $CID2_Challenge2Info = (get_magic_quotes_gpc()) ? $row_UserInfo['ChallengeID2'] : addslashes($row_UserInfo['ChallengeID2']);
}
mysql_select_db($database_RC, $RC);
$query_Challenge2Info = sprintf("SELECT * FROM challenges WHERE challenges.ID='%s'", $CID2_Challenge2Info);
$Challenge2Info = mysql_query($query_Challenge2Info, $RC) or die(mysql_error());
$row_Challenge2Info = mysql_fetch_assoc($Challenge2Info);
$totalRows_Challenge2Info = mysql_num_rows($Challenge2Info);
 
$CID3_Challenge3Info = "-1";
if (isset($row_UserInfo['ChallengeID3'])) {
  $CID3_Challenge3Info = (get_magic_quotes_gpc()) ? $row_UserInfo['ChallengeID3'] : addslashes($row_UserInfo['ChallengeID3']);
}
mysql_select_db($database_RC, $RC);
$query_Challenge3Info = sprintf("SELECT * FROM challenges WHERE challenges.ID='%s'", $CID3_Challenge3Info);
$Challenge3Info = mysql_query($query_Challenge3Info, $RC) or die(mysql_error());
$row_Challenge3Info = mysql_fetch_assoc($Challenge3Info);
$totalRows_Challenge3Info = mysql_num_rows($Challenge3Info);
 
 
$CID4_Challenge4Info = "-1";
if (isset($row_UserInfo['ChallengeID4'])) {
  $CID4_Challenge4Info = (get_magic_quotes_gpc()) ? $row_UserInfo['ChallengeID4'] : addslashes($row_UserInfo['ChallengeID4']);
}
mysql_select_db($database_RC, $RC);
$query_Challenge4Info = sprintf("SELECT * FROM challenges WHERE challenges.ID='%s'", $CID4_Challenge4Info);
$Challenge4Info = mysql_query($query_Challenge4Info, $RC) or die(mysql_error());
$row_Challenge4Info = mysql_fetch_assoc($Challenge4Info);
$totalRows_Challenge4Info = mysql_num_rows($Challenge4Info);
 
//This clears completion sessions if the process was broken part-way through
if (isset($_SESSION['BigTmpTime'])) {unset ($_SESSION['BigTmpTime']);}
if (isset($_SESSION['BigTmpChalID'])) {unset ($_SESSION['BigTmpChalID']);}
if (isset($_SESSION['MicroTmpTime'])) {unset ($_SESSION['MicroTmpTime']);}
if (isset($_SESSION['MicroTmpChalID'])) {unset ($_SESSION['MicroTmpChalID']);}
if (isset($_SESSION['MiniTmpTime'])) {unset ($_SESSION['MiniTmpTime']);}
if (isset($_SESSION['MiniTmpChalID'])) {unset ($_SESSION['MiniTmpChalID']);}
if (isset($_SESSION['MediumTmpTime'])) {unset ($_SESSION['MediumTmpTime']);}
if (isset($_SESSION['MediumTmpChalID'])) {unset ($_SESSION['MediumTmpChalID']);}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Randomly Challenged&#8482; Challenge Hub</title>
<link href="../style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
a {
	font-size: 12px;
	color: #99cc66;
}
h1 {
	color: #FFFFFF;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	color: #666666;
}
 
-->
    </style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
 
 
#Exp_live {
	position:absolute;
	left:134px;
	top:470px;
	width:225px;
	height:21px;
	z-index:6;
}
 
 
-->
    </style>
<script type="text/javascript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
 
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<link rel="stylesheet" href="timer.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
<!--
function formatdate(dateString) {
 
	var day1, month1, year1;
 
	year1 = dateString.substring(0,4);
	month1 = dateString.substring(5,7);
	day1 = dateString.substring(8,10);
	hour1 = dateString.substring(11,13);
	minute1 = dateString.substring(14,16);
	second1 = dateString.substring(17,19);
	
  return month1 +'/'+ day1 +'/' + year1 +' ' +hour1 +':' +minute1 +':' +second1
 
}
 
function two(x) {return ((x>9)?"":"0")+x}
 
function time(ms) {
var sec = ms;
var min = Math.floor(sec/60);
sec = sec % 60;
 
if (sec == 1) {
t = two(sec) + " sec ";
}
else
{
t = two(sec) + " secs ";
	}
 
var hr = Math.floor(min/60);
min = min % 60;
if (min == 1) {
t = two(min) + " min " + t;
}
else
{
t = two(min) + " mins " + t;
	}
var day = Math.floor(hr/24);
hr = (hr % 24 );
if (hr == 1) {
t = two(hr) + " hr " + t;
}
else
{
t = two(hr) + " hrs " + t;
	}
 
if (day == 1) {
t = day + " day " + t;
}
else
{
	t = day + " days " + t;
	}
 
return t;
}
 
 
<?php
$date_end = array ($row_UserInfo['Chal1Finish'],$row_UserInfo['Chal2Finish'],$row_UserInfo['Chal3Finish'],$row_UserInfo['Chal4Finish']);
$num_elements = count ($date_end);
 for ($idx = 0; $idx < $num_elements; ++$idx) { 
?>
alert(formatdate(date_input<?php echo $idx ?>));
  
function countIT<?php echo $idx ?>(date_to) {
	if (date_to!= "" ) {
	date_input<?php echo $idx ?> = date_to;
  curr_date_time =new Date();
  end_date=new Date(formatdate(date_input<?php echo $idx ?>));
  timer0 = (end_date - curr_date_time) / 1000 / 60 / 60 / 24;
  timer0 = Math.round(timer0);
  theHour = (end_date - curr_date_time) / 1000 / 60 / 60;
  theHour = Math.round(theHour);
  theMinute = (end_date - curr_date_time) / 1000 / 60;
  theMinute = Math.round(theMinute);
  theSecond = (end_date - curr_date_time) / 1000;
  theSecond = Math.round(theSecond);
 
  days = timer0;
  Hrs = theHour;
  Mins = theMinute;
  Secs = theSecond;
  SD<?php echo $idx ?>=setTimeout("countIT<?php echo $idx ?>(date_input<?php echo $idx ?>)", 1000);
  if (Secs < 0 ) {
  	ctime<?php echo $idx ?>.leftO<?php echo $idx ?>.value = "Time is Up!";
  }
  else
  	{
  ctime<?php echo $idx ?>.leftO<?php echo $idx ?>.value = time(theSecond);
   }
 }
 else
   {
ctime<?php echo $idx ?>.leftO<?php echo $idx ?>.value = "No Challenge!";
  }
}
  <?php }
?>
function startall(){
<?php	
$num_elements = count ($date_end);
 for ($idx = 0; $idx < $num_elements; ++$idx) { ?>
 countIT<?php echo $idx ?>('<?php echo $date_end[$idx] ?>');
<?php 
}?>
 
 
}
  // -->
 
 
 
 
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>
<script 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_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>
 
<script type="text/javascript" src="http://www.randomlychallenged.com/js/collapsableDivTag.js">
 
/***********************************************
* Animated Collapsible DIV- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
 
</script>
 
<style type="text/css">
 
.dockclass{
position:relative;
}
 
.style6 {color: #FFFFFF}
body {
	background-image: url(images/UniversalBG.gif);
}
</style>
 
 
 
 
 
 
<script type="text/javascript" src="http://www.randomlychallenged.com/js/swfobject.js"></script>
<!--this is the JS for the SWFOject that embeddes the flash header and anyother flash content -->
</head>
<body onload= startall();
"MM_preloadImages(
 
'images/ChallengeHub/ChallengeHub_r5_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r5_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r8_c1.jpg',
'images/ChallengeHub/ChallengeHub_r8_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r10_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r10_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r13_c1.jpg',
'images/ChallengeHub/ChallengeHub_r13_c2.jpg',
'images/ChallengeHub/ChallengeHub_r15_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r14_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r15_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r15_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r18_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r18_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r20_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r6_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r6_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r9_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r9_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r11_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r11_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r14_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r14_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r16_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r16_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r19_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r19_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r21_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r21_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r24_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r24_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r15_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r9_c1DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r9_c2DOWN.jpg',
'images/ChallengeHub/ChallengeHub_r14_c1DOWN.jpg',
'images/LogoutBtnDOWN.gif',
'images/NewsHubBtnDOWN.gif',
'images/ProSearchBtnDOWN.gif',
'images/MyProfileBtnDOWN.gif',
'images/TrophyCabBtnDOWN.gif',
'images/EditProBtnDOWN.gif',
'images/InfoBtnDOWN.gif',
'images/ChronicleHubBtnDOWN.gif',
'images/FreestyleChallComBtnDOWN.gif',
'images/ChronicleSearchBtnDOWN.gif',
'images/MailHubBtnDOWN.gif')"> 
 
 
<!-- *********************************************************
     * You may use this code for free on any web page provided that 
     * these comment lines and the following credit remain in the code.
     * Floating Div from http://www.javascript-fx.com
     ********************************************************  --><body onload="MM_preloadImages('images/MyProfileBtnDOWN.gif')">
	 
    
<div   id="divNav" style="background-image:url(images/Nav/Navigation.gif); background-repeat:no-repeat; position:absolute; height:439px; width:130px; " > 
<div  align="left" style="margin-top:50px; margin-left:15px; "><a href="../NewsHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('NewsHubBtn','','images/NewsHubBtnDOWN.gif',1)"><img src="images/NewsHubBtn.gif" alt="News Hub" title="News Hub" name="NewsHubBtn" width="50" height="55" border="0" id="NewsHubBtn" /></a>
 
  <a href="/ChallengeHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ChallengeHubBtn','','images/ChallengeHubBtnDOWN.gif',1)"><img src="images/ChallengeHubBtn.gif" alt="Challenge Hub" name="ChallengeHubBtn" width="50" title="Challenge Hub" height="55" border="0" id="ChallengeHubBtn" /></a>
  
  <a href="http://www.randomlychallenged.com/ChronicleHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ChronicleHubBtn','','images/ChronicleHubBtnDOWN.gif',1)"><img src="images/ChronicleHubBtn.gif" alt="Chronicle Hub" name="ChronicleHubBtn" title="Chronicle Hub" width="50" height="55" border="0" id="ChronicleHubBtn" /></a>
 
<a href="http://www.randomlychallenged.com/FreestyleChronicleForm.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FreestyleChallComBtn','','images/FreestyleChallComBtnDOWN.gif',1)"><img src="images/FreestyleChallComBtn.gif" alt="Add a Freestyle Chronicle" title="Add a Freestyle Chronicle" name="FreestyleChallComBtn" width="50" height="55" border="0" id="FreestyleChallComBtn" /></a>
 
<a href="/ProfileSearch.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ProfileSearch','','images/ProSearchBtnDOWN.gif',1)"><img src="images/ProSearchBtn.gif" alt="Profile Search" name="ProfileSearch" title="Profile search" width="50" height="55" border="0" id="ProfileSearch" /></a>
 
 
<a href="http://www.randomlychallenged.com/ChronicleSearch.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ChronicleSearch','','images/ChronicleSearchBtnDOWN.gif',1)"><img src="images/ChronicleSearchBtn.gif" alt="Search for Chronicles" title="Chronicle Search" name="ChronicleSearch" width="50" height="55" border="0" id="ChronicleSearch" /></a>
 
 
<a href="http://www.randomlychallenged.com/MyProfile.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MyProfileBtn','','images/MyProfileBtnDOWN.gif',1)"><img src="images/MyProfileBtn.gif" alt="My Profile" name="MyProfileBtn" width="50" height="55" border="0" id="MyProfileBtn" /></a><a href="/MailHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MailHubBtn','','images/MailHubBtnDOWN.gif',1)"><img src="images/MailHubBtn.gif" alt="My Mail Hub" name="MailHubBtn" width="50" height="55" border="0" id="MailHubBtn" /></a>
 
<a href="TrophyCabinet/TrophyHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('TrophyCabBtn','','images/TrophyCabBtnDOWN.gif',1)"><img src="images/TrophyCabBtn.gif" alt="My Trophy Cabinet" name="TrophyCabBtn" width="50" height="55" border="0" id="TrophyCabBtn" /></a>
 
<a href="javascript:collapse2.slideit()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('InfoBtn','','images/InfoBtnDOWN.gif',1)"><img src="images/InfoBtn.gif" alt="Do you want to know more?" name="InfoBtn" width="50" title="Would you like to know more?" height="55" border="0" id="InfoBtn" /></a></div>
 
<div align="left"  style="padding-top:15px; padding-left:40px; vertical-align:top;">
 
<a href="./Logout_Script.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('LogoutBtn','','images/LogoutBtnDOWN.gif',1)"><img src="images/LogoutBtn.gif"  style="margin-left:4px; "alt="Logout" name="LogoutBtn" title="Logout" width="40" height="38" border="0" id="LogoutBtn" /></a></div>
 
<div align="center" style="padding-bottom:10px; "><a href="#top"><img src="../images/upArrow.gif" alt="Top" width="20" height="20" border="0" title="Top of page"   /></a>
 
<a href="#bottom"><img src="./images/downArrow.gif" alt="Bottom" width="20" height="20" border="0" title="Bottom of page"  style="margin-left:35px;" /></a></div>
 
<!-- End   - put your content here --->
</div>
 
<div id="divLocation"     style="position:absolute; height:439px; width:75px; background-image:url(images/ChallengeHub/ChallHubBan.jpg);  ">
 
 
<!-- End   - put your content here --->
</div>
 
<script type="text/javascript">
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function JSFX_FloatDiv(id, sx, sy)
{
	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
	var px = document.layers ? "" : "px";
	window[id + "_obj"] = el;
	if(d.layers)el.style=el;
	el.cx = el.sx = sx;el.cy = el.sy = sy;
	el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};
 
	el.floatIt=function()
	{
		var pX, pY;
		pX = (this.sx >= 0) ? 0 : ns ? innerWidth : 
		document.documentElement && document.documentElement.clientWidth ? 
		document.documentElement.clientWidth : document.body.clientWidth;
		pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? 
		document.documentElement.scrollTop : document.body.scrollTop;
		if(this.sy<0) 
		pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? 
		document.documentElement.clientHeight : document.body.clientHeight;
		this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
		this.sP(this.cx, this.cy);
		setTimeout(this.id + "_obj.floatIt()", 40);
	}
	return el;
}
JSFX_FloatDiv("divNav", 835,30).floatIt();
JSFX_FloatDiv("divLocation", 0,30).floatIt();
 
</script>
<!-- ********************************************************* -->
 
 
<table width="952" border="0" cellpadding="0" cellspacing="0" style="background-image:url(images/UniversalBG.gif; background-repeat:repeat;" >
  <!--DWLayoutTable-->
  
  <tr>
    <td width="74" rowspan="7" valign="top" ><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="29" rowspan="5" valign="top" bgcolor="#FFFFFF"   style=" background-image:url(images/LtsidePlain.gif);  background-repeat:repeat-y; ">&nbsp;<a name="top" id="top"></a></td>
		                
    <td height="262" colspan="3" valign="top" bgcolor="#FFFFFF"><div   id="flashcontent"><a href="http://www.adobe.com/downloads"><img src="images/StaticMainHeader.gif" width="690" height="262" hspace="4"  border="0" /></a></div>
      <script type="text/javascript" src="http://www.randomlychallenged.com/js/swfobject.js"></script>
      <script type="text/javascript">
   var so = new SWFObject("http://www.randomlychallenged.com/RCFlash/Loader.swf?myTitle=Challenge Hub", "", "690", "262", "7", "#FFFFFF"); 
   
   so.write("flashcontent");
      </script>      </td>
    <td width="29" rowspan="5" valign="top" style="background-image:url(./images/RtsidePlain.gif); background-repeat:repeat-y;"><!--DWLayoutEmptyCell-->&nbsp;</td>
  <td width="116">&nbsp;</td>
  </tr>
  
  
  
 
  <tr>
    <td height="20" colspan="3" valign="top" bgcolor="#FFFFFF" style="padding-top:16px;"><a name="top" id="top"></a></td>
		                
		  
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="5 " colspan="3" align="center" valign="top" bgcolor="#FFFFFF" >
<div  id="cat" style="width: 640px; height:400px; background-image: url(images/InfoBG.jpg);">
 
  <!--Your DIV content as follows. Note to add CSS padding or margins, do it inside a DIV within the Collapsible DIV -->
  <div align="left" class="titles style21" style="margin-left:40px; margin-right:30px; padding-top:35px;">Challenge Hub information</div>
       <div class="text" align="left" style="margin-left:40px; margin-right:30px;  padding-top:30px;">Help content goes here.</div>
        <div  align="left" style="margin-left:40px; margin-right:30px;  padding-top:30px;"><a href="javascript:collapse2.slideit()" class="ranking2">Close</a></div>
</div>
</div>
 
<script type="text/javascript">
 
//Syntax: var uniquevar=new animatedcollapse("DIV_id", animatetime_milisec, enablepersist(true/fase), [initialstate] )
var collapse2=new animatedcollapse("cat", 800, true)
 
</script></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="27" height="1390" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="641" valign="top" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0" width="640">
            <!--DWLayoutTable-->
              
            <tr><!-- row 1 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td width="303" height="75" style="background-image:url(images/ChallengeHub/ChallengeHub_r1_c1.jpg); background-repeat:no-repeat;"><div class="ranking" style="margin-top:10px; margin-left:140px; margin-right:30px;"><?php echo $row_UserInfo['name']; ?></div></td>
	           <td width="337" height="75" style="background-image:url(images/ChallengeHub/ChallengeHub_r1_c4.jpg); background-repeat:no-repeat;"><div class="heading" style="margin-top:10px; margin-left:60px; margin-right:150px;"></div></td>
	          </tr>
              </table></td>
          </tr>
            <tr><!-- row 2 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="303">
                    <tr><!-- row 1 -->
                      <td width="303" height="32" style="background-image:url(images/ChallengeHub/ChallengeHub_r2_c1.jpg); background-repeat:no-repeat;"><div class="ranking" style="margin-bottom:5px; margin-left:150px; margin-right:40px;"><?php echo $row_UserInfo['Skips']?></div></td>
		          </tr>
                    <tr><!-- row 2 -->
                      <td  width="303" height="93" bgcolor="#FFFFFF" style="background-image:url(images/ChallengeHub/ChallengeHub_r3_c1.jpg); background-repeat:no-repeat;"><div class="ranking" style="margin-left:50px; margin-right:40px;"><?php echo $row_UserInfo['LifetimeScore']; ?></div></td>
		          </tr>
                  </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="337">
	             <tr><!-- row 1 -->
	               <td width="337" height="50" style="background-image:url(images/ChallengeHub/ChallengeHub_r2_c4.jpg); background-repeat:no-repeat;"><div class="heading" style=" margin-left:60px; margin-right:100px;"><?php echo $row_UserInfo['BankedTokens']; ?></div></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td width="337" height="75" style="background-image:url(images/ChallengeHub/ChallengeHub_r4_c4.jpg); background-repeat:no-repeat;"><div class="heading" style=" margin-left:70px; margin-right:120px;"><?php echo $row_UserInfo['LiveTokens']; ?></div></td>
		          </tr>
	             </table></td>
	          </tr>
              </table></td>
          </tr>
            <tr><!-- row 3 -->
              <td width="640" height="45" style="background-image:url(images/ChallengeHub/ChallengeHub_r5_c1.jpg); background-repeat:no-repeat;"><div class="ranking2" style="margin-top:22px; margin-left:110px; margin-right:70px;"><?php echo $row_Challenge1Info['Title']; ?></div></td>
          </tr>
            <tr><!-- row 4 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="122">
                    <tr><!-- row 1 -->
                      <td width="122" height="104"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MicroLCBtn','','images/ChallengeHub/ChallengeHub_r6_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r6_c1.jpg" alt="Load a new challenge" name="MicroLCBtn" width="122" height="104" border="0" id="MicroLCBtn" onclick="MM_goToURL('parent','Micro_New_Challenge_Script.php');return document.MM_returnValue" title="Load a new challenge" /></a></td>
		          </tr>
                    <tr><!-- row 2 -->
                      <td width="122" height="141"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MicroSCBtn','','images/ChallengeHub/ChallengeHub_r9_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r9_c1.jpg" alt="Skip current challenge" name="MicroSCBtn" width="122" height="141" border="0" id="MicroSCBtn" onclick="MM_goToURL('parent','Micro_Skip_Challenge_Script.php');return document.MM_returnValue" title="Skip current challenge" /></a></td>
		          </tr>
                  </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="93">
	             <tr><!-- row 1 -->
	               <td width="93" height="104"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MicroVCBtn','','images/ChallengeHub/ChallengeHub_r6_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r6_c2.jpg" alt="View the current challenge" name="MicroVCBtn" width="93" height="104" border="0" id="MicroVCBtn" onclick="MM_goToURL('parent','Micro_View_Challenge_Script.php');return document.MM_returnValue" /></a></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td width="93" height="141"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MicroCCBtn','','images/ChallengeHub/ChallengeHub_r9_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r9_c2.jpg" alt="Complete challenge" name="MicroCCBtn" width="93" height="141" border="0" id="MicroCCBtn" onclick="MM_goToURL('parent','Micro_Complete_Challenge_Script1.php');return document.MM_returnValue"  title="Complete challenge" /></a></td>
		          </tr>
	             </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="425">
	             <tr><!-- row 1 -->
	               <td width="425" height="49" style="background-image:url(images/ChallengeHub/ChallengeHub_r6_c3.jpg); background-repeat:no-repeat;"><div  class="text" style="margin-top:; margin-left:110px; margin-right:90px;"><form action="" name="ctime0" id="ctime0">
                     <input class="rc" type="text" value="" name="leftO0" size="30" />
          </form></div></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td><img name="ChallengeHub_r7_c3" src="images/ChallengeHub/ChallengeHub_r7_c3.jpg" width="425" height="33" border="0" id="ChallengeHub_r7_c3" alt="" /></td>
		          </tr>
	             <tr><!-- row 3 -->
	               <td width="425" height="163" valign="top" style="background-image:url(images/ChallengeHub/ChallengeHub_r8_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-left:20px; margin-right:60px;"><textarea name="(Micro)Challenge Discription " rows="7" readonly="readonly" class="text"   style="width:340px;"><?php echo $row_Challenge1Info['Description']; ?></textarea></div></td>
		          </tr>
	             </table></td>
	          </tr>
              </table></td>
          </tr>
            <tr><!-- row 5 -->
              <td width="640" height="47" style="background-image:url(images/ChallengeHub/ChallengeHub_r10_c1.jpg); background-repeat:no-repeat;"><div class="ranking2" style="margin-top:22px; margin-left:100px; margin-right:70px;"><?php echo $row_Challenge2Info['Title']; ?></div></td>
          </tr>
            <tr><!-- row 6 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="122">
                    <tr><!-- row 1 -->
                      <td width="122" height="102"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MiniLCBtn','','images/ChallengeHub/ChallengeHub_r11_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r11_c1.jpg" alt="Load a new challenge" name="MiniLCBtn" width="122" height="102" border="0" id="MiniLCBtn" onclick="MM_goToURL('parent','Mini_New_Challenge_Script.php');return document.MM_returnValue" title="Load a new challenge" /></a></td>
		          </tr>
                    <tr><!-- row 2 -->
                      <td width="122" height="140"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MiniSCBtn','','images/ChallengeHub/ChallengeHub_r14_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r14_c1.jpg" alt="Skip current challenge" name="MiniSCBtn" width="122" height="140" border="0" id="MiniSCBtn" onclick="MM_goToURL('parent','Mini_Skip_Challenge_Script.php');return document.MM_returnValue"  title="Skip current challenge" /></a></td>
		          </tr>
                  </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="93">
	             <tr><!-- row 1 -->
	               <td width="93" height="102"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MiniVCBtn','','images/ChallengeHub/ChallengeHub_r11_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r11_c2.jpg" name="MiniVCBtn" width="93" height="102" border="0" alt="View the current challenge" id="MiniVCBtn" onclick="MM_goToURL('parent','Mini_View_Challenge_Script.php');return document.MM_returnValue" title="View the current challenge"/></a></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td width="93" height="140"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MiniCCBtn','','images/ChallengeHub/ChallengeHub_r14_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r14_c2.jpg" alt="Complete this challenge" name="MiniCCBtn" width="93" height="140" border="0" id="MiniCCBtn" onclick="MM_goToURL('parent','Mini_Complete_Challenge_Script1.php');return document.MM_returnValue"  title="Complete this challenge" /></a></td>
		          </tr>
	             </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="425">
	             <tr><!-- row 1 -->
	               <td width="425" height="50" style="background-image:url(images/ChallengeHub/ChallengeHub_r11_c3.jpg); background-repeat:no-repeat;"><div  class="text" style="margin-top:; margin-left:110px; margin-right:90px;"><form action="" name="ctime1" id="ctime1">
                     <input class="rc" type="text" value="" name="leftO1" size="30" />
          </form></div></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td><img name="ChallengeHub_r12_c3" src="images/ChallengeHub/ChallengeHub_r12_c3.jpg" width="425" height="31" border="0" id="ChallengeHub_r12_c3" alt="" /></td>
		          </tr>
	             <tr><!-- row 3 -->
	               <td width="425" height="161" valign="top" style="background-image:url(images/ChallengeHub/ChallengeHub_r13_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-left:20px; margin-right:60px;"><textarea name="(Mini) Challenge Discription" rows="7" readonly="readonly" class="text"  style="width:340px;"><?php echo $row_Challenge2Info['Description']; ?></textarea></div></td>
		          </tr>
	             </table></td>
	          </tr>
              </table></td>
          </tr>
            <tr><!-- row 7 -->
              <td width="640" height="50" style="background-image:url(images/ChallengeHub/ChallengeHub_r15_c1.jpg); background-repeat:no-repeat;"><div class="ranking2" style="margin-top:26px; margin-left:140px; margin-right:70px;"><?php echo $row_Challenge3Info['Title']; ?></div></td>
          </tr>
            <tr><!-- row 8 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="122">
                    <tr><!-- row 1 -->
                      <td width="122" height="101"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MediumLCBtn','','images/ChallengeHub/ChallengeHub_r16_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r16_c1.jpg" alt="Load a new challenge" name="MediumLCBtn" width="122" height="101" border="0" id="MediumLCBtn" onclick="MM_goToURL('parent','Medium_New_Challenge_Script.php');return document.MM_returnValue" title="Load a new challenge" /></a></td>
		          </tr>
                    <tr><!-- row 2 -->
                      <td width="122" height="141"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('mediumSCBtn','','images/ChallengeHub/ChallengeHub_r19_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r19_c1.jpg" alt="Skip the current challenge" name="mediumSCBtn" width="122" height="141" border="0" id="mediumSCBtn" onclick="MM_goToURL('parent','Medium_Skip_Challenge_Script.php');return document.MM_returnValue" title="Skip the current challenge" /></a></td>
		          </tr>
                  </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="93">
	             <tr><!-- row 1 -->
	               <td width="93" height="101"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MediumVCBtn','','images/ChallengeHub/ChallengeHub_r16_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r16_c2.jpg" alt="View the current challenge" name="MediumVCBtn" width="93" height="101" border="0" id="MediumVCBtn" onclick="MM_goToURL('parent','Medium_View_Challenge_Script.php');return document.MM_returnValue"  title="View the current challenge" /></a></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td width="93" height="141"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MediumCCBtn','','images/ChallengeHub/ChallengeHub_r19_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r19_c2.jpg" alt="Complete this challenge" name="MediumCCBtn" width="93" height="141" border="0" id="MediumCCBtn" onclick="MM_goToURL('parent','Medium_Complete_Challenge_Script1.php');return document.MM_returnValue" title="Complete this challenge" /></a></td>
		          </tr>
	             </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="425">
	             <tr><!-- row 1 -->
	               <td width="425" height="48" style="background-image:url(images/ChallengeHub/ChallengeHub_r16_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-top:; margin-left:110px; margin-right:90px;">
	                 <form action="" name="ctime2" id="ctime2">
                       <input class="rc" type="text" value="" name="leftO2" size="30" />
          </form></div></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td><img name="ChallengeHub_r17_c3" src="images/ChallengeHub/ChallengeHub_r17_c3.jpg" width="425" height="30" border="0" id="ChallengeHub_r17_c3" alt="" /></td>
		          </tr>
	             <tr><!-- row 3 -->
	               <td width="425" height="164" valign="top" style="background-image:url(images/ChallengeHub/ChallengeHub_r18_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-left:20px; margin-right:60px;"><textarea name="(Medium) Challenge Discription" rows="7" readonly="readonly" class="text" style="width:340px;"><?php echo $row_Challenge3Info['Description']; ?></textarea></div></td>
		          </tr>
	             </table></td>
	          </tr>
              </table></td>
          </tr>
            <tr><!-- row 9 -->
              <td width="640" height="47" style="background-image:url(images/ChallengeHub/ChallengeHub_r20_c1.jpg); background-repeat:no-repeat;"><div class="ranking2" style="margin-top:22px; margin-left:140px; margin-right:70px;"><?php echo $row_Challenge4Info['Title']; ?></div></td>
          </tr>
            <tr><!-- row 10 -->
              <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="640">
                <tr><!-- row 1 -->
                  <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="215">
                    <tr><!-- row 1 -->
                      <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="215">
                          <tr><!-- row 1 -->
                            <td width="122" height="103"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MassiveLCBtn','','images/ChallengeHub/ChallengeHub_r21_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r21_c1.jpg" alt="Load a new challenge" name="MassiveLCBtn" width="122" height="103" border="0" id="MassiveLCBtn" onclick="MM_goToURL('parent','Big_New_Challenge_Script.php');return document.MM_returnValue" title="Load a new challenge"/></a></td>
			           <td width="93" height="103"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MassiveVCBtn','','images/ChallengeHub/ChallengeHub_r21_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r21_c2.jpg" alt="View the current challenge" name="MassiveVCBtn" width="93" height="103" border="0" id="MassiveVCBtn" onclick="MM_goToURL('parent','Big_View_Challenge_Script.php');return document.MM_returnValue" title="View the current challenge" /></a></td>
			          </tr>
                      </table></td>
		          </tr>
                    <tr><!-- row 2 -->
                      <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="215">
                          <tr><!-- row 1 -->
                            <td width="122" height="92"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MassiveSCBtn','','images/ChallengeHub/ChallengeHub_r24_c1DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r24_c1.jpg" alt="Skip the current challenge" name="MassiveSCBtn" width="122" height="92" border="0" id="MassiveSCBtn" onclick="MM_goToURL('parent','Big_Skip_Challenge_Script.php');return document.MM_returnValue" title="Skip the current challenge" /></a></td>
			           <td width="93" height="92"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MassiveCCBtn','','images/ChallengeHub/ChallengeHub_r24_c2DOWN.jpg',1)"><img src="images/ChallengeHub/ChallengeHub_r24_c2.jpg" alt="Complete this challenge" name="MassiveCCBtn" width="93" height="92" border="0" id="MassiveCCBtn" onclick="MM_goToURL('parent','Big_Complete_Challenge_Script1.php');return document.MM_returnValue"  title="Complete this challenge" /></a></td>
			          </tr>
                      </table></td>
		          </tr>
                    <tr><!-- row 3 -->
                      <td><img name="ChallengeHub_r25_c1" src="images/ChallengeHub/ChallengeHub_r25_c1.jpg" width="215" height="77" border="0" id="ChallengeHub_r25_c1" alt="" /></td>
		          </tr>
                  </table></td>
	           <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="425">
	             <tr><!-- row 1 -->
	               <td width="425" height="50" style="background-image:url(images/ChallengeHub/ChallengeHub_r21_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-top:; margin-left:110px; margin-right:90px;">
	                 <form action="" name="ctime3" id="ctime3">
                       <input class="rc" type="text" value="" name="leftO3" size="30" />
          </form></div></td>
		          </tr>
	             <tr><!-- row 2 -->
	               <td><img name="ChallengeHub_r22_c3" src="images/ChallengeHub/ChallengeHub_r22_c3.jpg" width="425" height="32" border="0" id="ChallengeHub_r22_c3" alt="" /></td>
		          </tr>
	             <tr><!-- row 3 -->
	               <td width="425" height="190" valign="top" style="background-image:url(images/ChallengeHub/ChallengeHub_r23_c3.jpg); background-repeat:no-repeat;"><div class="text" style="margin-left:20px; margin-right:60px;"><textarea name="(Big) Challenge Discription" rows="7" readonly="readonly" class="text"  style="width:340px;"><?php echo $row_Challenge4Info['Description']; ?></textarea></div></td>
		          </tr>
	             </table></td>
	          </tr>
              </table></td>
          </tr>
 
          </table></td>
          <td width="36" valign="bottom" bgcolor="#FFFFFF"><a href="#top"><img src="../images/upArrow.gif" alt="Top" width="20" height="20" border="0" /></a></td>
  <td>&nbsp;</td>
  </tr>
  
  
  
  <tr>
    <td height="39" colspan="3" valign="top" bgcolor="#FFFFFF" ><!--DWLayoutEmptyCell-->&nbsp;</td>
  <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="66" colspan="5" align="center" valign="top"   style="background-image: url(./images/kubrickfooter.gif); background-repeat:no-repeat; background-repeat:no-repeat; "><div style="padding-top:15px" class="mainlinks"><a href="../NewsHub.php" class="mainlinks">News Hub</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./SiteMap.php" class="mainlinks">Site Map</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./faq.php" class="mainlinks">FAQ's</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../FreestyleChronicle.php" class="mainlinks">Freestyle Chronicle </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../ChronicleHub.php" class="mainlinks">Chronicle Hub </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../ProfileSearch.php" class="mainlinks">Profile Search</a>&nbsp;<br />
        <br />
    &nbsp;<a href="../ContactUs.php" class="mainlinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../SuggestChallenge.php" class="mainlinks">Suggest a Challenge</a></div></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
   <td height="22" colspan="5" align="center" valign="top" class="sublinksWIT"><?php include './CopyrightInclude.php'; ?>
    <a href="./Rules.php" class="sublinksWIT">The Rules</a>&nbsp;|&nbsp;<a href="./T&amp;C.php" class="sublinksWIT">Terms &amp; Conditions</a>&nbsp;|&nbsp;<a href="./PrivacyPolicy.php" class="sublinksWIT">Privacy Policy</a><a name="bottom" id="bottom"></a></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="153">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
 
</body>
</html>
<?php
mysql_free_result($UserInfo);
mysql_free_result($Challenge1Info);
mysql_free_result($Challenge2Info);
mysql_free_result($Challenge3Info);
mysql_free_result($Challenge4Info);
?>
 
Related Solutions
Keywords: JavaScript Timer not working in Safari …
 
Loading Advertisement...
 
[+][-]11/19/07 02:30 PM, ID: 20316165Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/07 02:03 AM, ID: 20318589Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/07 10:50 AM, ID: 20322083Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/20/07 12:11 PM, ID: 20322658Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/07 12:50 PM, ID: 20323081Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/20/07 01:10 PM, ID: 20323268Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/07 01:24 PM, ID: 20323387Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/20/07 02:43 PM, ID: 20323980Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/07 03:09 PM, ID: 20324148Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: JavaScript, PHP Scripting Language
Tags: javascript, safari, working, firefox, challenges
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 2
Solution Grade: A
 
[+][-]11/22/07 03:17 PM, ID: 20336620Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_2_20070628