Greetings,

I am totally new to JS and PHP.
I have a .php file would want to insert 4 popup windows with differents url

I have tried several methods with JS. but non of them works well in my .php file

The code started here:

------------------------------------------------------------------------
PHP Code:
define('TEXT_MAIN'' <h3>We provide creative expression and holistic healing for the entire familly.</h3> 

HTML Code:
<p>We are happy to announce upcoming art classes: Creative Writing, Learn Mandarin(Chinese), Spanish through Arts, and others.
Following this code works well for all links, but all links pointed to the same url.

I have 4 url that I want my customer click on the link and ultimately guide them to a new window page.

The sequence of the url for example is
1.'/../catalog/art_classes1.htm'
2.'/../catalog/art_classes2.htm'
3./../catalog/art_classes3.htm'
4/../catalog/blissful_membership.htm <------ using the following javascript code, the 4 links is pointing to the this last link eventhough I use different URL in window.open ( /../catalog/art_classes1.htm) in the 1st script.



Code:
<SCRIPT language="JavaScript">
function openwindow()
{
	artclasses = window.open (  " /../catalog/art_classes.htm", "artclasses", " location = 1, resizable = yes, status = 1, scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<A href="javascript: openwindow()"><font color = "#3300CC">(more details)</font></A>
</p>

<SCRIPT language="JavaScript">
function openwindow()
{
	workshops = window.open (  " /../catalog/blissful_workshop.htm", "workshops", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<h3><br><A href="javascript: openwindow()"><font color = "#3300CC">Special Workshops</font></A></h3>

<p>Please join our special workshops: Integrated Energy Therapy, Spinning/ Knitting, and Felting with Magic. 

<SCRIPT language="JavaScript">
function openwindow()
{
	workshops = window.open (  " /../catalog/blissful_workshop.htm", "workshops", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<A href="javascript: openwindow()"><font color = "#3300CC">(more details)</font></A>
</p>

<SCRIPT language="JavaScript">
function openwindow()
{
	artstudio = window.open (  "/../catalog/blissful_art_studio.htm", "artstudio", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<h3><br><A href="javascript: openwindow()"><font color = "#3300CC">Open Art Studio</font></A></h3>


<p>A place for children 3 - 12 to explore their creativity in a safe and nurturing environment. 

<SCRIPT language="JavaScript">
function openwindow()
{
	artstudio = window.open (  "/../catalog/blissful_art_studio.htm", "artstudio", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<A href="javascript: openwindow()"><font color = "#3300CC">(more details)</font></A>
</p>
<SCRIPT language="JavaScript">
function openwindow()
{
	membership = window.open (  "/../catalog/blissful_membership.htm", "membership", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>
<h3><br><A href="javascript: openwindow()"><font color = "#3300CC">Membership Programs</font></A></h3>


<p>Blissful Family <sup>TM</sup> is pleased to announce two options for yearly family membership programs. 

<SCRIPT language="JavaScript">
function openwindow()
{
	membership = window.open (  "/../catalog/blissful_membership.htm", "membership", " location = 1, resizable = yes, status = 1,  scrollbars = 1, width = 750, height=500 ");
	artclasses.moveTo (300,100);
}
</SCRIPT>

<A href="javascript: openwindow()"><font color = "#3300CC">(more details)</font></A>
</p>
<h3><font color = "#FF9933"> Blissful Family <sup>TM</sup> will contribute a portion of the business profits to our community.</font></h3>

');
PHP Code:
define('TABLE_HEADING_NEW_PRODUCTS''New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS''Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED''Date Expected');

if ( (
$category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
  
define('HEADING_TITLE''Let\'s See What We Have Here');
  
define('TABLE_HEADING_IMAGE''');
  
define('TABLE_HEADING_MODEL''Model');
  
define('TABLE_HEADING_PRODUCTS''Product Name');
  
define('TABLE_HEADING_MANUFACTURER''Manufacturer');
  
define('TABLE_HEADING_QUANTITY''Quantity');
  
define('TABLE_HEADING_PRICE''Price');
  
define('TABLE_HEADING_WEIGHT''Weight');
  
define('TABLE_HEADING_BUY_NOW''Buy Now');
  
define('TEXT_NO_PRODUCTS''There are no products to list in this category.');
  
define('TEXT_NO_PRODUCTS2''There is no product available from this manufacturer.');
  
define('TEXT_NUMBER_OF_PRODUCTS''Number of Products: ');
  
define('TEXT_SHOW''<b>Show:</b>');
  
define('TEXT_BUY''Buy 1 \'');
  
define('TEXT_NOW''\' now');
  
define('TEXT_ALL_CATEGORIES''All Categories');
  
define('TEXT_ALL_MANUFACTURERS''All Manufacturers');
} elseif (
$category_depth == 'top') {
  
define('HEADING_TITLE''What\'s New Here?');
} elseif (
$category_depth == 'nested') {
  
define('HEADING_TITLE''Categories');
}
?> 
The above is the original code from my .php file... anyone can help?