// Create drop menus

tcentw=780; //define width of table if page content is centered

ttmenu(ttmx=["company",0,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'Welcome',"/welcome.php","self",,,
,'About Us',"/about.php","self",,,
,'What\'s New?',"/news.php","self",,,
,'Link to Us',"/link.php","self",,,
,'About this site',"/about_site.php","self",,,
,'<img src="/images/menu_div.gif" width="100%" height="2">',"disable","",,,
,'Privacy Policy',"/privacy.php","self",,,
,'Terms of Service',"/tos.php","self",,,
])

ttmenu(ttmx=["details",72,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'PULPchat',"/pulpchat.php","self",,,
,'PULPchat Mobile',"/pulpmobile.php","self",,,
,'PULP Messenger',"/messenger.php","self",,,
,'Feature List',"/features.php","self",,,
,'Applications',"/applications.php","self",,,
,'Testimonials',"/testimonials.php","self",,,
,'<img src="/images/menu_div.gif" width="100%" height="2">',"disable","",,,
,'Skins Gallery',"/gallery.php","self",,,
,'PULP Directory',"/directory.php","self",,,
,'<img src="/images/menu_div.gif" width="100%" height="2">',"disable","",,,
,'Design Contest',"/contest.php","self",,,
,'Contest Gallery',"/contest_gallery.php","self",,,
])

ttmenu(ttmx=["statistics",132,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'Who\'s Online S2',"javascript:goCounter()","self",,,
,'Who\'s Online S4',"javascript:goCounter4()","self",,,
,'Daily Stats',"javascript:goStats()","self",,,
,'User Chart',"http://pulp4.design215.com/pulpchat/chat_chart.php?chat=juiced","new",,,
,'Site Stats',"/sitestats.php","self",,,
,'Server Stats',"http://pulp1.design215.com/pulpchat/pulpstats.php","new",,,
])

ttmenu(ttmx=["accounts",206,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'Login',"/login.php","self",,,
,'Sign Up',"/signup.php","self",,,
,'Upgrade',"/upgrade.php","self",,,
,'Free Accounts',"/accounts.php","self",,,
,'Paid Accounts',"/accounts2.php","self",,,
,'Make a Payment',"/pay.php","self",,,
,'Donations',"/donate.php","self",,,
])

ttmenu(ttmx=["faq",280,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'General',"/faq/faq100.php","self",,,
,'User\'s Guide',"/faq/faq200.php","self",,,
,'Accounts',"/faq/faq300.php","self",,,
,'PULPchat Setup',"/faq/faq400.php","self",,,
,'Creating "Skins"',"/faq/faq500.php","self",,,
,'Administration',"/faq/faq600.php","self",,,
,'<img src="/images/menu_div.gif" width="100%" height="2">',"disable","",,,
,'Most Popular',"/faq/popular.php","self",,,
,'Most Recent',"/faq/recent.php","self",,,
,'List All FAQs',"/faq/list.php","self",,,
])

ttmenu(ttmx=["support",324,84,120,4,"#ffbf11","#ffffff",0,0,"y"
,'General Contact',"/contact.php","self",,,
,'Customer Support',"/support.php","self",,,
,'Connection Wizard',"/connect.php","self",,,
])


// Begin PULPchat launch script v2.02  02.03.05 -->
var pulpServer="128.241.238.254"; //for best results, use your PULP server ip address 
var chatWin="",chatUrl="";
  
function goPULP(url,wx,wy) {
  if (url.indexOf("http://")<0){url="http://"+pulpServer+"/pulpchat/php/default.php?chat="+url}
  if (navigator.userAgent.indexOf("Opera")!=-1) {wy=parseInt(wy)+18;}
  var wxMax=screen.width,wyMax=screen.height,wxOffset=(wxMax-wx)/2,wyOffset=(wyMax-wy)/2;
  var win_options='width='+wx+',height='+wy+',screenX='+wxOffset+',screenY='+wyOffset+
  ',top='+wyOffset+',left='+wxOffset+',scrollbars=no,resizable=no';
  chatWin=window.open(url,'',win_options);
}  
// End PULPchat launch script -->

function goCounter() {  //v01.05.05
  var url="http://www.pulpchat.com/chat_count.php"
  var wx=180; var wy=200;
  var wxMax=screen.width; var wyMax=screen.height;
  var wxOffset=2; var wyOffset=wyMax-wy-80;
  var win_options='width='+wx+',height='+wy+
  ',screenX='+wxOffset+',screenY='+wyOffset+
  ',top='+wyOffset+',left='+wxOffset+',scrollbars,resizable'

  countWin=window.open(url,'pulpCount',win_options);
  if (countWin) {countWin.opener=self} //for popup blocker errors
  else {alert("a popup blocker has disabled this function")}
}  
function goCounter4() {  //v01.05.05
  var url="http://www.pulpchat.com/chat_count4.php"
  var wx=184; var wy=200;
  var wxMax=screen.width; var wyMax=screen.height;
  var wxOffset=190; var wyOffset=wyMax-wy-80;
  var win_options='width='+wx+',height='+wy+
  ',screenX='+wxOffset+',screenY='+wyOffset+
  ',top='+wyOffset+',left='+wxOffset+',scrollbars,resizable'

  countWin=window.open(url,'pulpCount4',win_options);
  if (countWin) {countWin.opener=self} //for popup blocker errors
  else {alert("a popup blocker has disabled this function")}
}  

function goStats() {  //v01.05.05
  var url="http://pulp1.design215.com/pulpchat/chat_stats.php"
  var wx=180; var wy=200;
  var wxMax=screen.width; var wyMax=screen.height;
  var wxOffset=10; var wyOffset=wyMax-wy-300;
  var win_options='width='+wx+',height='+wy+
  ',screenX='+wxOffset+',screenY='+wyOffset+
  ',top='+wyOffset+',left='+wxOffset+',scrollbars,resizable'

  countWin=window.open(url,'pulpStats',win_options);
  if (countWin) {countWin.opener=self} //for popup blocker errors
  else {alert("a popup blocker has disabled this function")}
}  

