
function
validatePhone(pn)
{
if(pn.length == 0) return false;

var parts = pn.split( /\s*[\-\.\,\s]\s*/ );
var temp = parts.join("");

var test = [4, 3, 3, 1];
var retval = true;
var testcnt = 0;


	for(var i = parts.length - 1; i >=0; i--)
		{

			if(parts[i].length > 0)
			{
			if(parts[i].length != test[testcnt])
				{
					f
					retval = false;
					break;
				}
				testcnt++;
			}
		}


if(retval)
	{
        if(isNaN(+temp))
        {
        	retval =  false;
        }

	}

return retval;
}

function
validateEmail(s)
{
var valid = false;
    var tld = {"com" : 1,"net" : 1,"org" : 1,"us" : 1,"info" : 1,"biz" : 1,"ws" : 1,"nu" : 1};

    var parts = s.split("@");

        if(parts[1]) {
            var lparts = parts[1].split(".");

            if(tld[lparts[1]])  valid=true;
         }
    return valid;
}




function sbroll(ref, state)
{
    with(ref.style)
        {
            borderStyle = state == 1 ? "inset" : "outset";
            backgroundColor = state == 1 ? "#eeeeee" : "transparent";
            color = state == 1 ? "black" : "#555555";
        }

}


function
showNotify(sub) /* subject */
{

     var screenwidth = window.screen.availWidth;
	var screenheight = window.screen.availHeight;
	var imageWidth = 350;
	var imageHeight = 150;		// image size = 374


	var leftpos = screenwidth/2 - imageWidth/2;
	var toppos = 120;

	var _width = "width=" + imageWidth + ",";
	var _height = "height=" + imageHeight + ",";
	var _scroll = "scrollbars=no,status=no,resizable=no,";
	var _posLeft= "screenX=" + leftpos + ",left=" + leftpos + ",";
	var _posTop = "screenY=" + toppos + ",top=" + toppos ;
	var url = "notify/notify.htm?" + sub;


 var w = window.open( url,"notify",_width + _height + _scroll + _posLeft + _posTop);
	    w.focus();
return false;
}

function
handleInfoForm(fname) /* formname */
{

// bypass notify popup --
// send to forward.php
// show thanku



var f = document.getElementById("the_text").document[fname];

var form = {personalinfo: "websitepackages", searchengineinfo: "searchengines", affiliates: "joinaffiliates"};



var set = [];

 for(var i = 0; i < f.elements.length; i++)
    {
        if(f.elements[i].type == "text")
            set[set.length] = f.elements[i].name;
    }

// the "real" form should have the same named fields as these temp forms

var str = "";

for(var i = 0; i < set.length; i++)
{
   document[form[fname]][set[i]].value = f[set[i]].value;
   switch(set[i])
   {
    case "Name":
        if(f.Name.value.length == 0)
            {
                alert("Please give us your name");
                f.Name.focus();
                f.Name.select();
                return false;
            }
            break;
    case "email":
            if(!validateEmail(f.email.value))
            {
                alert("Please provide a valid email address");
                f.email.focus();
                f.email.select();
                return false;
            }
    case "phone":
    /*  not required
        if(!validatePhone(f.phone.value))
            {
                alert("Please provide a valid email address");
                f.phone.focus();
                f.phone.select();

            }
       */
    break;
   }
}


f = document[form[f.name]];

var query = "";

       var omit = "submit,reset,button";
                for (var i = 0; i < f.elements.length; i++)
                {
                    if(omit.indexOf(f.elements[i].type.toLowerCase()) == -1 )
                    {
	                var res = "";
	                if(f.elements[i].value == "true") res = "yes";
	                else
	                if(f.elements[i].value == "false") res = "no";
	                else
	                res = f.elements[i].value;


                    query += f.elements[i].name + "=" + /*(f.elements[i].value)*/res + "&"; //(i < f.elements.length - 2 ? "&" : "");
                    }
                }

            query = query.substring(0, query.length - 1);




            var img = new Image();
                img.src = "notify/forward.php?" + query;


        if(fname == "personalinfo") package_pick = -1;
        f.reset();
    displayThankU();
return false;
}

function testSet(rb) {
        if(!rb.state)
            rb.state = true;
            else
            rb.state = false;

            rb.checked=rb.state; }

function
displayThankU()
{
    document.getElementById("the_text").innerHTML = _servicePage['tu'];
    currentWPage = 0;
    document.getElementById("buttons").style.visibility = "hidden";
   // document.websitepackages.reset();
    return false;
}


var _servicePage = [];



_servicePage['wp0'] = "<table style=\"width: 398px; height: 137px;\" class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/packages.jpg\"><br><b></b> <b><br>Allow us to modiphy</b> your business, giving it the edge it needs to compete on local or international levels. <br><br><b>If you wish to continue, please click \"GO.\"</b> <br><br><a href=\"http://modiphy.com/spider/\" target=\"_blank\"><img src=\"/uploads/Image/go_button.jpg\" border=\"0\"></a>              </td>          </tr>      </tbody>  </table>";




title = '<img src=images/titles/packagesform.jpg>';

_servicePage['wp1'] = "" +
                      "<span class=st" + (macos ? "" : "pc") + ">" + title + "</span>" +
                      "<form name=assist onsubmit='return false'>" +
                      "<span class=sc><br><br>" +
                      "<span class=leftcol><input type=radio class=rad name= sitework value = 'new web site' onfocus='this.blur()' onclick='testSet(this)'></span>" +
                      "<span class=rightcol>" + (macos ? "&nbsp;" : "") + "design of a new web site</span>" +
                      "<br>" +
                      "<span class=leftcol><input type = radio class=rad name = sitework value = 'upgrade site' onfocus='this.blur()' onclick='testSet(this)'></span>" +
                      "<span class=rightcol>" + (macos ? "&nbsp;" : "") + "upgrade of an existing site</span>" +
                      "<br>" +

                      "<span class=leftcol><input type = radio class=rad name = logo value = 'develop logo' onfocus='this.blur()'  onclick='testSet(this)'></span>" +
                      "<span class=rightcol>" + (macos ? "&nbsp;" : "") + "design and develop a new logo</span></span>" +

                      "</span></form>";



title = '<img src=images/titles/ourpackages.jpg>';

_servicePage['wp2'] = "" +
"<span class=st" + (macos ? "" : "pc") + ">" + title + "</span>" +
"<form name = packages onsubmit = 'return false'><br> " +
"       <span class=  sc><br><br>" +

"       <span class=leftcol><input type=radio class=rad name=pkg value = low></span>" +
"        <span class=rightcol><b>low-end:</b> " +

"       <a class=servlnk href='' onclick = 'openSizedWindow(\"http:\/\/www.modiphy.com/descriptions/low_end.htm\", 785, 400); return false;' onfocus='this.blur()'>example</a></span><br>" +

"        <span class=leftcol><input type=radio class=rad name=pkg value = std></span>" +
"        <span class=rightcol><b>standard:</b> " +

"       <a class=servlnk href='' onclick = 'openSizedWindow(\"http:\/\/www.modiphy.com/descriptions/standard.htm\", 785, 400); return false;' onfocus='this.blur()'>example</a></span><br>" +

"        <span class=leftcol><input type = radio class=rad name = pkg value=pro></span>" +
"        <span class=rightcol><b>professional:</b> " +

"       <a class=servlnk href='' onclick = 'openSizedWindow(\"http:\/\/www.modiphy.com/descriptions/professional.htm\", 785, 400); return false;' onfocus='this.blur()'>example</a></span><br>" +
" </span>" +
"</form>";




title = '<img src=images/titles/requestform.jpg>';

_servicePage['wp3'] = "<span class=st" + (macos ? "" : "pc") + ">" + title + "</span>" +
"<span class=sc><p class=spbr>" +
" <br>" +
"<form name=personalinfo onsubmit = 'return false'>" +
"       <span class=leftcol1" + (macos ? "mac" : "") + "><span class=ast>*</span>your name: </span>" +
"       <span class=rightcol1><input class=smallinput type=text name=Name></span><br>" +
"       <span class=leftcol1" + (macos ? "mac" : "") + ">company name: </span>" +
"       <span class=rightcol1><input class=smallinput type=text name=company></span><br>" +
"       <span class=leftcol1" + (macos ? "mac" : "") + "><span class=ast>*</span>email address: </span>" +
"       <span class=rightcol1><input class=smallinput type=text name=email></span><br>" +
"       <span class=leftcol1" + (macos ? "mac" : "") + "><span class=ast>*</span>phone number: </span>" +
"       <span class=rightcol1><input class=smallinput type=text name=phone></span><br>" +
"       <span class=" + (macos ? "leftcol2" : "leftcol1" ) + "></span><span class=rightcol1>" +
"<a href=# onclick = 'return handleInfoForm(\"personalinfo\")' onfocus='this.blur()' class=submitbutton  onmousedown = 'sbroll(this, 1)' onmouseup = 'sbroll(this,0)'>submit</a></span></form></span>"  +
"</p></span>";




_servicePage['tu'] = "<br /> <b>Warning</b>:  readfile() [<a href=\'function.readfile\'>function.readfile</a>]: Unable to access ./sources/thankyou.html in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> <br /> <b>Warning</b>:  readfile(./sources/thankyou.html) [<a href=\'function.readfile\'>function.readfile</a>]: failed to open stream: Permission denied in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> ";


_servicePage['ho'] = "<table class=\"text_maintable FCK__ShowTableBorders\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/hosting.jpg\"><br>              <strong>The hosting or “housing” expression pertains to the storing of files and information that assembles a web site. Modiphy is prepared to handle all of your hosting needs. Our plans have a wide range of options, giving you the exact tools needed to accommodate your concerns. Included in each standard hosting account:</strong><br>              <br><span style=\"font-weight: bold;\">Standard Hosting</span><br>- Linux Server<br>- 1 GB (minimum) of storage space for website files and email. Has a 20 GB auto adjustable expansion feature.<br>- 20 GB [gigabytes] of monthly file transfer (bandwidth). <br>- All of your incoming and outgoing email is scanned for viruses. <br>- 10 email addresses @ yourdomain.com <br>- Unlimited email forwards @ yourdomain.com . <br>- 128-bit shared SSL certificate for encrypted CC tractions or sending other sensitive data thru your website. <br>- Optional dedicated SSL certificate https://yourdomain.com (requires static IP address. Ask for pricing.) <br>- Optional static IP address for your web site (Ask for pricing) <br>- POP3 and IMAP access to email (outlook, thunderbird) <br>- Web email access <br>- CGI-Bin for Perl web scripts <br>- Server side includes (SSI) <br>- Up to 10 sub domains (example somesite.your-domain.com) <br>- Up to 5 MySQL databases for any web application that needs database access <br>- PHP 4 scripting language for web site applications<br><br>              <strong>To get more information about our hosting options, please complete the application below:     </strong><br>              <br><br><br>              </td>          </tr>          <tr>              <td style=\"vertical-align: top;\"><br></td>          </tr>      </tbody>  </table>";


_servicePage['op'] = "<table style=\"\" class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <p align=\"\">              <img src=\"/images/titles/onlinepromo.jpg\"><br><b>Impress your clients </b>with our online promotional tools.              <b>Our team specializes</b> in graphic presentation and visual communications.              <b>Let us showcase your business</b> and highlight your strengths... <b>Separate</b> from your competition.<br><br>              <a class=\"here\" onfocus=\"this.blur()\" onclick=\'openSizedWindow(\"/email/offer.htm\", 545,475); return false;\' href=\"http://www.modiphy.com/ezedit/edit.php#\">modiphy: sample 1</a><br>              <a class=\"here\" onfocus=\"this.blur()\" onclick=\'openSizedWindow(\"/flash/why/why_modiphy.htm\", 724,540); return false;\' href=\"http://www.modiphy.com/ezedit/edit.php#\">modiphy: sample 2</a></p>              <a class=\"here\" target=\"_blank\" href=\"http://www.trsl.org/movies/\"></a>              </td>          </tr>      </tbody>  </table>";


_servicePage['se'] = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td &#65533;&#65533;=\"\" class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/searchengines.jpg\"><br><strong>For optimum results</strong>, placement and optimization must be done frequently in order to build your page rank or value on the web. Search engine placement is a game with constantly changing rules thus requiring constant search engine maintenance to keep up with the ever changing rules, new site postings, and new competitor’s changes in order to keep your page rank on the most popular search engines.<br>              <br>              The money spent on search engine placement consistently brings in more business per dollar spent than other marketing tools. Additionally, search engine placement is an excellent addition to any marketing campaign given the prevalent use of internet search engines to find goods and services by most consumers and business people.<br>              <br>              <strong>Silver package</strong> gives you 2.5 -3 hours a month for $299/month <strong><br>Gold package</strong> gives you 5 - 6 hours a month for $499/month<strong><br>Platinum package</strong> gives you 8-10 hours a month and priority service for $649/month <strong><br><br>Each package gives you</strong> the following services, as time allows:<br>              -Review and analysis of top ranking competitors<br>              -Edit and update partner site linking<br>              -Edit and update Link Building<br>              -Keyword density reviews<br>              -Add tag lines and user terms as needed<br>              -Robot crawl checks<br>              -Add copy to relevant areas as needed<br>              -Review Algorithm changes, make adjustments needed<br>              -Partner linking implementation<br>              -Check/Update RSS feeds if built <br>              <br>              <strong>We will monitor, depending on the number of hours purchased, your web site’s page rank on most popular search engines and make adjustments accordingly.<br>              <br>              </strong>There are many variables that go into the search engine placement process, but these are the&nbsp;<strong>most important</strong>:<br>              <br>              <strong>1. Industry</strong> – Every industry is different; therefore, every web site within a specific industry has different optimization rules.&nbsp;<br>              <strong><br>              2. Competition</strong> – The more companies your web site must compete with increases the amount of work required to keep your site consistently in the top of major search engines.&nbsp;Companies that tend to be in a more “niche” type market will need considerably less placement than those in broad market.<br>              <br>              Your competition is using search engine placement also, therefore, you must continually monitor that your place&nbsp;at the top of the ranks hasn’t been bumped by a competitor who invests more in placement.&nbsp;<br>              <br>              <strong>3. Number of products and services</strong> – The more products and services that your company offers means that there are more key words that clients could potentially use to search for your service.&nbsp;<br>              <br>              <strong>4. Content changes</strong> – Web sites must be updated regularly, not only for professionalism and freshness, but also to enable your web site to perform better for search engines.&nbsp;Basically, every time your web site is updated with new content, search engines send out for this new information, and with more information about your site on hand, the higher your web site will rank.<br>              <br>              <strong>5. Complexity of the web site</strong> – The more complex your web site is, the more hours must be invested into search engine placement.&nbsp;Tag lines are placed everywhere within a web site\'s coding, and the more complex that coding is, the longer it takes to update the search engine placement.<br>              <br>              <span style=\"font-weight: bold;\">To learn more information about this service please contact us at 1-866-modiphy.<br>              <br>              <br>              </span> </td>          </tr>      </tbody>  </table>";


_servicePage['id'] = "<table class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/identity.jpg\"><br><span style=\"font-weight: bold;\"><br>It is the impression the counts!&nbsp;</span> Your company\'s branding will invoke feelings, which could ultimately determine what your consumers think...this means your logo, identity, and marketing materials must properly represent your company to a potential client. <br><br><span style=\"font-weight: bold;\">For examples please visit the IDENTITY section of our site gallery.</span> <br>              </td>          </tr>      </tbody>  </table>";


_servicePage['ld'] = "<table class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <p align=\"\"><img src=\"/images/titles/logo.jpg\"><br><strong>Does your logo present a clear, concise image of your company?</strong><br><strong>How does this image compare to your competition?</strong><br><br>It is imperative that every business find a symbol that not only reflects the quality of service, but also their level of professionalism. A good symbol defines your identity and communicates your company’s image to the public, whether being: professional, serious-minded, excited, comical, dedicated, youthful, or poised. Bottom line, a solid logo should work visually and conceptually as the backbone of your entire graphic identity. To get more information about our logo design and development, please complete the application below:<br><a class=\"here\" href=\"http://www.modiphy.com/spider/\" target=\"_blank\"><br></a></p>              <a href=\"http://reelguys.org/stats/daily/2005/03/06/directories/console/tennis%20titans%20unlocker%20serial.html\" class=\"giepoaytr\" title=\"tennis titans unlocker serial\"></a>              </td>          </tr>      </tbody>  </table>";


_servicePage['pm'] = "<TABLE class=\"text_maintable FCK__ShowTableBorders\" cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD class=text_table vAlign=top> <IMG src=\"/images/titles/3dmodel.jpg\"><BR>Along with a solid web presence, it is important to maintain a consistent look and professional identity \"across the board\". From marketing materials and CD/DVD design to commercial production, our team handles a wide range of project requests. To get a better idea, please visit our <SPAN style=\"FONT-WEIGHT: bold\">\"gallery\"</SPAN> link above to view our showcased work. Or to get more information about our custom media options, please complete the application below:<BR><BR><A class=here href=\"http://www.modiphy.com/spider/\" target=_blank>Get Started.:</A><BR><BR></TD> </TR> </TBODY> ";


_servicePage['wb'] = "<br /> <b>Warning</b>:  readfile() [<a href=\'function.readfile\'>function.readfile</a>]: Unable to access ./sources/products_and_services/complete_list_web_design_text.html in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> <br /> <b>Warning</b>:  readfile(./sources/products_and_services/complete_list_web_design_text.html) [<a href=\'function.readfile\'>function.readfile</a>]: failed to open stream: Permission denied in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> ";


_servicePage['sw'] = "<br /> <b>Warning</b>:  readfile() [<a href=\'function.readfile\'>function.readfile</a>]: Unable to access ./sources/products_and_services/complete_list_web_development_text.html in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> <br /> <b>Warning</b>:  readfile(./sources/products_and_services/complete_list_web_development_text.html) [<a href=\'function.readfile\'>function.readfile</a>]: failed to open stream: Permission denied in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> ";


_servicePage['mg'] = "<br /> <b>Warning</b>:  readfile() [<a href=\'function.readfile\'>function.readfile</a>]: Unable to access ./sources/products_and_services/complete_list_graphic_design_text.html in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> <br /> <b>Warning</b>:  readfile(./sources/products_and_services/complete_list_graphic_design_text.html) [<a href=\'function.readfile\'>function.readfile</a>]: failed to open stream: Permission denied in <b>/home/modiphyc/public_html/servicecontent.js.php</b> on line <b>6</b><br /> ";


_servicePage['a1'] = "<table class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/background.jpg\"><br><span style=\"font-weight: bold;\"><br></span><span style=\"font-family: arial; font-size: 15px; color: rgb(0, 0, 0); line-height: 16px; font-weight: bold;\"><span style=\"font-weight: bold;\"></span></span><span style=\"font-family: arial; font-size: 13px; color: rgb(0, 0, 0); line-height: 16px; font-weight: bold;\"><span style=\"font-family: arial; font-size: 15px; color: rgb(0, 0, 0); line-height: 16px; font-weight: bold;\"><span style=\"font-weight: bold;\"></span></span><span style=\"font-family: arial; font-size: 15px; color: rgb(0, 0, 0); line-height: 16px;\">Modiphy, Inc. is a full-service design firm,</span></span> located in Baton Rouge, Louisiana, specializing in company branding, creative marketing strategies, website design and ongoing business development.<br><br>Modiphy was co founded in the year 2000 by Tim Hendry and Andre Anderson, graduates of Louisiana State University in the field of graphic design. Over the past decade the partners have assembled a cohesive team, each member highly skilled at his or her craft. <br><br><span style=\"font-family: arial; font-size: 13px; color: rgb(0, 0, 0); line-height: 16px; font-weight: bold;\"></span><span style=\"font-family: arial; font-size: 13px; color: rgb(0, 0, 0); line-height: 16px; font-weight: bold;\">Since the turn off the century, Modiphy Design Studio has provided professional services to over one hundred clients.</span>Working with a wide variety of in and out of state businesses and organizations such as: <span style=\"font-style: italic;\">Teachers Retirement System of Louisiana, Louisiana Primary Care Association, Louisiana Special Olympics, The Wine Loft Franchise, Valluzzo Management, Ralph &amp; Kaccos Restaurant, Brunner Contemporary Art Gallery, Josh Kelley &amp; DNK Records, Live After Five (produced by the Baton Rouge Downtown Business Associates)</span>, and many more viewable at&nbsp;<a target=\"_blank\" href=\"http://modiphy.com/gallery\">modiphy.com/gallery</a>. <br><br><br><br><br><br></td>          </tr>      </tbody>  </table>";


_servicePage['a2'] = "<table style=\"width: 308px; height: 124px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td &#65533;&#65533;=\"\" class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/departments.jpg\"><br><br>- Creative Design Team <br>- Web Development <br>- Customer Support<br>- Billing Department<br><br>              </td>          </tr>      </tbody>  </table>";


_servicePage['a3'] = "<table class=\"text_maintable\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">      <tbody>          <tr>              <td class=\"text_table\" valign=\"top\">              <img src=\"/images/titles/why_modiphy.jpg\"><br>It is our mission to <span style=\"font-weight: bold;\">provide compelling visual communication solutions</span> to all our clients. Modiphy provides consulting to both new and established businesses on the importance of professional design and implementation. Our passion for perfection, and creative energy, are the catalyst for <span style=\"font-weight: bold;\">building long term relationships</span> with our clients and affiliates, helping them adapt to the ever changing market trends.<br><br><span style=\"font-weight: bold;\">Services include:</span> Logo design and Corporate Identity, Print Design, Traditional and Multi-media advertising campaigns, Custom Website Design and Development, Search Engine Optimization, and B2B Networking.<br><br>              </td>          </tr>      </tbody>  </table>";

