<!--
function writeAddress()
{
nextWindow = window.open('','addressWindow', 'menubar=no,toolbar=no,location=no,scrollbars=no,width=320,height=200')
nextWindow.document.write("<HTML><body>")
nextWindow.document.writeln("<FORM METHOD='POST' NAME='contactForm'>")
nextWindow.document.writeln("<p><font size='4' face='Arial Narrow'><strong><b>Western Midland Communications LTD<br>")
nextWindow.document.writeln("Communications Group (Calgary)<br> #8, 3601 19th Street NE<br>")
nextWindow.document.writeln("Calgary<br> Alberta, T2E 6S8</b></strong></font></p>")
nextWindow.document.writeln("<INPUT LANGUAGE='JavaScript' TYPE=button VALUE='Close Window' ONCLICK='window.close()' NAME='close'>")
nextWindow.document.write("</FORM></body></HTML>")
}
function writePhone()
{
nextWindow = window.open('','phoneWindow', 'menubar=no,toolbar=no,location=no,scrollbars=no,width=410,height=200')
nextWindow.document.write("<HTML><body>")
nextWindow.document.writeln("<FORM METHOD='POST' NAME='contactForm'>")
nextWindow.document.writeln("<p><font size='4' face='Arial Narrow'><strong><b>Phone: (403) 250-9433 (Mon thru Fri 8am to 5pm Mtn)</p>")
nextWindow.document.write("<p>Fax: (403) 250-9576<\/b><\/p><p>Toll Free: 1-800-289-6918 (Mon thru Fri 8am to 5pm Mtn)</b></strong></font></p>")
nextWindow.document.writeln("<INPUT LANGUAGE='JavaScript' TYPE=button VALUE='Close Window' ONCLICK='window.close()' NAME='close'>")
nextWindow.document.write("</FORM></body></HTML>")
}
function writeMap()
{
nextWindow = window.open('','mapWindow', 'menubar=no,toolbar=no,location=no,scrollbars=no,width=620,height=420')
nextWindow.document.write("<HTML><BODY><CENTER>")
nextWindow.document.writeln("<FORM METHOD='POST' NAME='mapForm'>")
nextWindow.document.write("<P><img src='images/map.jpg' width='600' height='350' alt='Location Map' border='0'></P>")
nextWindow.document.writeln("<INPUT LANGUAGE='JavaScript' TYPE=button VALUE='Close Window' ONCLICK='window.close()' NAME='close'>")
nextWindow.document.write("</CENTER></FORM></BODY></HTML>")
}
//Create contact object:
function Contact(inputName, inputPosition, inputCell, inputEmail){
    this.name=inputName
    this.position=inputPosition
    this.cell=inputCell
    this.email=inputEmail
}
//Define Contacts:
var domain='westernmidland'
var admin=new Contact('Charlotte Attwood', 'Office Administrator', '(403)250-9433', '')
var reception=new Contact('', 'Front Office', '(403)250-9433', '')
var president=new Contact('Ed Dzieciuch', 'President', 'Cell: (403)650-3458', 'ed@westernmidland.com')
var sales=new Contact('Richard Sutton', 'Communications Consultant', '(403)250-9433', 'sales@westernmidland.com')
var cell=new Contact('Bob Campbell', 'Cellular Consultant', 'Cell: (403)803-2462', 'bcampbell@westernmidland.com')
var cellMat=new Contact('Matthew Haist', 'Cellular Consultant', 'Cell: (403)803-6494', 'MHaist@westernmidland.com')
var service=new Contact('Brent Gilbertson', 'Service Manager', '(403)250-9433', 'brent@westernmidland.com')
var web=new Contact('Colin Braithwaite', 'Web Administrator / Technician', '(403)250-9433', '')
//Create Personal detail window:
function writeContact(name, position, cell, email)
{
nextWindow = window.open('','contactWindow', 'menubar=no,toolbar=no,location=no,scrollbars=no,width=250,height=150')
nextWindow.document.write("<HTML><body>")
nextWindow.document.writeln("<FORM METHOD='POST' NAME='contactForm'>")
nextWindow.document.writeln("<p><font size='4' face='Arial Narrow'><strong><b>"+name+"<br>")
nextWindow.document.write(" "+position+"<br> "+cell+"<br>")
nextWindow.document.writeln("<a href='mailto:"+email+" '>"+email+"</b></a></strong></font></p>")
nextWindow.document.writeln("<INPUT LANGUAGE='JavaScript' TYPE=button VALUE='Close Window' ONCLICK='window.close()' NAME='close'>")
nextWindow.document.write("</FORM></body></HTML>")
}
function writeCellWindow()
{
nextWindow = window.open('','cellWindow', 'menubar=no,toolbar=no,location=no,scrollbars=yes,width=800,height=600')
nextWindow.document.write("<HTML><BODY>")
nextWindow.document.write("<script language='JavaScript'>location.href='http://www.telusmobility.com/en/AB/phones/index.shtml'</script>	")
nextWindow.document.write("</BODY></HTML>")
}
function writeMikeWindow()
{
nextWindow = window.open('','cellWindow', 'menubar=no,toolbar=no,location=no,scrollbars=yes,width=800,height=600')
nextWindow.document.write("<HTML><BODY>")
nextWindow.document.write("<script language='JavaScript'>location.href='http://www.telusmobility.com/en/AB/mike_phones/index.shtml'</script>	")
nextWindow.document.write("</BODY></HTML>")
}
function writeRatePlanWindow()
{
nextWindow = window.open('','cellWindow', 'menubar=no,toolbar=no,location=no,scrollbars=yes,width=800,height=600')
nextWindow.document.write("<HTML><BODY>")
nextWindow.document.write("<script language='JavaScript'>location.href='http://www.telusmobility.com/en/AB/plans/index.shtml'</script>	")
nextWindow.document.write("</BODY></HTML>")
}
//-->    