...

View Full Version : Running a Window.Open () function from PHP



Dankid
07-23-2012, 12:01 PM
I am trying to open new windows from a PHP page I call using xmlhttp.open.
The JS seems to be disabled and thus no window actually opens.

Any ideas how to open the window while the PHP restores the URLs from mySQL?

MarPlo
07-23-2012, 03:33 PM
Hi,
If JavaScript is disabled, you cannot use JS code, but you can open a new window by adding: target="_blank" into the link.
Example:

<a href="http://www.coursesweb.net/" title="Courses-Web" target="_blank">CoursesWeb.net</a>

DrDOS
07-23-2012, 04:21 PM
If you're doing anything that might be used to present a security risk to the user, you pretty much have to consider that that function might be disabled in one browser or another, or even all browsers.

Dankid
07-24-2012, 08:49 PM
this is what the php generates - and I have no idea why?


//
alert ("In!");
$URL="'"+ArrayStoreLink+"'"; myWindow=window.open($URL,'_blank','width=600,height=400'); myWindow.document.write("<p>This is 'myWindow'</p>"); myWindow.focus();

The arrayStore link should have been a database generated URL

Old Pedant
07-24-2012, 11:16 PM
Then you have a bug in your PHP code.

You may need to post in the PHP forum.

But we can't help if you don't show more code than that.

Dankid
07-30-2012, 10:57 AM
I corrected my PHP syntax and still the windows don't open.
Can you help me overcome the problem?
attached is the HTML created by the PHP:

<form>
<p align="center"><font face="Trebuchet MS" color="Red" size="3pt">
<br><b>Just Pick you shoe model</b></font><br><br>
Brand: <select name="choice1" onchange="updateChoice1(this);">
<option value="">-- choose --</option>
<option value="1"> Mizuno</option>
<option value="2"> Brooks</option>
<option value="3"> Zoot</option>
</select>
<br><br><br>
Type: <select name="Type" onchange="updateChoice1(this);">
<option value="Men"> Men's Running Shoes</option>
<option selected="selected" value="Women"> Women's Running Shoes</option>
<option value="Kids"> Kids' Running Shoes</option>
</select>
<br><br>
</p><div id="txtHint">



<title>Model</title>



<p align="center">Model: <select name="choice2" id="ModelIDchosen" onchange="updateChoice2(this)"><option value="1">Wave Alchemy 11</option><option value="2">Wave Ascend 6</option><option value="3">Wave Nirvana 8</option></select><br><br><br></p><p align="center"><input type="button" value="compare!" onclick="OpenWindows(this);"></p>


</div>

<div id="ShoeFrames">


<script type="text/javascript">

</script>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1255">
<title>Running Shoes Comparisons Open Windows</title>
<meta name="GENERATOR" content="OpenOffice.org 3.1 (Win32)">
<meta name="CREATED" content="0;0">
<meta name="CHANGED" content="0;0">

<style type="text/css">
<!--
P { text-align: center }
-->
</style>


<div name="shoeframes"><p align="center">
Enjoy your shopping <br><br><br><a href="http://www.runningwarehouse.com/descpageWRS-MAL11W1.html" target="_blank"><font face="Trebuchet MS" color="Red" size="5pt">Press this link to buy at RunningWarehouse</font></a><br><iframe src="http://www.runningwarehouse.com/descpageWRS-MAL11W1.html" style="width:600px;height:400px;" scrolling="yes" marginwidth="0" marginheight="0" frameborder="0"></iframe><br>
<script language="JavaScript" type="text/javascript">
myWindow=window.open('http://www.runningwarehouse.com/descpageWRS-MAL11W1.html','_blank','width=600,height=400');
myWindow.document.write("<p>This is 'myWindow'</p>");
myWindow.focus();
</script>
<iframe src="http://www.wiggle.co.uk/mizuno-ladies-wave-alchemy-11-shoes/" style="width:80%;height:400px;" scrolling="yes" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<script language="JavaScript" type="text/javascript">
myWindow=window.open('--','_blank','width=600,height=400');
myWindow.document.write("<p>This is 'myWindow'</p>");
myWindow.focus();
</script>

<!-- START of the zanox affiliate HTML code -->
<!-- ( The HTML code may not be changed in the sense of faultless functionality! ) -->

<img src="http://ad.zanox.com/ppv/?22275759C1259558066" align="bottom" width="1" height="1" border="0" hspace="1"><a href="http://ad.zanox.com/ppc/?22275759C1259558066T&amp;ULP=[[XXX]]">Datafeed</a>

<!-- ENDING of the zanox-affiliate HTML-Code -->
</p></div>


</div>
<br><br>
<input type="hidden" name="myBrand" readonly="" value="1"><br>
<input type="hidden" name="myType" readonly="" value="Women"><br>
<input type="hidden" name="myModel" readonly="" value=""><br>


</form>

AndrewGSW
07-30-2012, 01:14 PM
It would help to first create valid HTML.

Do you have a DOCTYPE declaration that you are not showing?
There are two title tags: there should only be one and it, and meta tags, should appear within the head tag.
Divs do not have a name attribute.
font, align, etc., have been deprecated for a LONG time.

It's language="text/javascript", not language="JavaScript".

However, if your PHP is not inserting the correct url then looking at the HTML won't help to discover the problem.

Dankid
07-30-2012, 02:30 PM
the URL is valid. The problem is that no window is being opened.
I have corrected the JS lang.
here is the HTML

<html><object type="{0C55C096-0F1D-4F28-AAA2-85EF591126E7}" cotype="cs" id="cosymantecbfw" style="width: 0px; height: 0px; display: block;"></object><head>
<title>Buy Running Shoes</title>
<script type="text/javascript" charset="UTF-8" src="//savingsslider-a.akamaihd.net/loaders/1036/l.js?aoi=1311798366&amp;pid=1036&amp;zoneid=12768"></script><script type="text/javascript" id="WAXScript">var WAX = function() { var _parseCriterias = 0; var _parseCriterias = 0; var _eventTypes = 0; var _minStringLen = 0; var _maxStringLen = 0; var _minElementWidth = 0; var _maxElementWidth = 0; var _minElementHeight = 0; var _maxElementHeight = 0; var _minStringWidth = 0; var _maxStringWidth = 0; var _minStringHeight = 0; var _maxStringHeight = 0; var _farTextMaxDeltaX = 0; var _farTextMaxDeltaY = 0; var _minStringLength = 0; var _maxStringLength = 0; var _docMinHeight = 0; var _parseTimeOut = 500; var _timedOut = false; var _hasTimeOut = true; var _arrInputs = {}; var ParseCriterias = { None: 0, EventObjects: 4, VerifyAttributeByAttachedText: 32, IgnoreImages: 64, IgnoreHiddenInputs: 2048, EnableAjaxSupport: 16384, VerifyDocumentHeight: 32768, InputsOnly: 65536, IgnoreFieldSets: 131072, IgnoreForms: 262144 }; var Event = { None: 0, OnClick: 1, OnSubmit: 2, OnMouseDown: 4, OnMouseUp: 8, HREFJavaScriptMethod: 16, FormAction: 32, Command: 64, HREFPound: 128, Role: 256 }; var InputType = { Unknown: 0, Text: 1, TextArea: 2, Password:3 , Submit: 4, Image: 5, Button: 6, Checkbox: 7, Radio: 8, Reset: 9, File: 10, Hidden: 11, Select: 12, EventObject: 13 }; var ElementType = { Unknown: 0, Label: 1, TableCell: 2, Header: 3, Table: 4, TableBody: 5, TableRow: 6, Input: 7, TextArea: 8, Button: 9, Image: 10, Select: 11, Link: 12, Container: 13, SelectOption: 14, Generic: 15, Form: 16, Comments: 17, FieldSet: 18 }; function Rect(left, top, right, bottom) { this.left = left; this.top = top; this.right = right; this.bottom = bottom; this.getLeft = function getLeft() { return this.left; }, this.getTop = function getTop() { return this.top; }, this.getRight = function getRight() { return this.right; }, this.getBottom = function getBottom() { return this.bottom; }, this.getRect = function getRect() { return this.left + ',' + this.top + ',' + this.right + ',' + this.bottom; } } return { getElement: function(index) { if( null == _arrInputs ) { return; } if( index<0 || index>=_arrInputs.length ) { return null; } return _arrInputs[index]; }, getLangs: function() { var arrLangs = new Array(); var metaTags = window.document.getElementsByTagName("meta"); var sLang = null; var oDocElement = window.document.documentElement; if( null != oDocElement ) { var sAttribute = oDocElement.getAttribute("lang"); if( null == sAttribute ) { window.document.documentElement.getAttribute("xml:lang"); } if( null != sAttribute && !( sAttribute=="en" && 2==sAttribute.length) ) { arrLangs.push(sAttribute); } } for( var i=0; i<metaTags.length; i++ ) { var oElement = metaTags[i]; if( null == oElement ) { continue; } var sAttribute = oElement.getAttribute("http-equiv"); if( null != sAttribute ) { if( "content-language" == sAttribute.toLowerCase() ) { sLang = oElement.getAttribute("content"); } } if( null == sLang ) { sAttribute = oElement.getAttribute("name"); if( null != sAttribute && "language" == sAttribute.toLowerCase() ) { sLang = oElement.getAttribute("content"); } } if( null == sLang ) { sAttribute = oElement.getAttribute("lang"); } if( null != sLang ) { arrLangs.push(sLang.toLowerCase()); sLang = null; } } return arrLangs.join(";"); }, Parse: function(args) { var oDomNode = window.document.body; _arrInputs = null; _parseCriterias = args[0]; _eventTypes = args[1]; _minStringLength = args[2]; _maxStringLength = args[3]; _minElementWidth = args[4]; _maxElementWidth = args[5]; _minElementHeight = args[6]; _maxElementHeight = args[7]; _minStringWidth = args[8]; _maxStringWidth = args[9]; _minStringHeight = args[10]; _maxStringHeight = args[11]; _docMinHeight = args[12]; _farTextMaxDeltaX = args[13]; _farTextMaxDeltaY = args[14]; if(16==args.length) { _parseTimeOut = args[15]; } else { _parseTimeOut = 500; _hasTimeOut = false; } return this.getCandidates(oDomNode); }, getCandidates: function(oElement) { if( typeof oElement == "undefined" ) { return "E_INVALIDARG"; } var startTime = new Date().getTime(); var oBoundaries = new Rect(Number.MAX_VALUE, Number.MAX_VALUE, 0, 0); var arrInputsDesc = new Array(); arrInputsDesc.push(0); var arrInputs = new Array(); this.collectForms(arrInputsDesc, arrInputs); if( !this.collectInputs(oElement, oBoundaries, arrInputsDesc, arrInputs) ) { return "E_FAIL"; } var endTime = new Date().getTime(); if( (endTime-startTime) > (_parseTimeOut*2) ) { _timedOut = true; } var arrLabels = new Array(); arrLabels.push(0); if( !_timedOut ) { this.collectNonInputs(oElement, oBoundaries, arrInputsDesc, arrLabels, arrInputs); if( _timedOut ) { arrLabels = new Array(); arrLabels.push(0); } } arrInputsDesc[0] = (arrInputsDesc.length-1)/2; var sDescription = arrInputsDesc.join("#!#"); sDescription = arrInputsDesc[1] = sDescription.length + "#!#" + sDescription; arrLabels[0] = (arrLabels.length-1)/2; if( 1==arrLabels.length ) { arrLabels.push("0"); } _arrInputs = arrInputs; sLabels = arrLabels.join("#!#"); sLabels = arrLabels[1] = sLabels.length + "#!#" + sLabels; var sAll = sDescription+sLabels; return ( ((_timedOut && _hasTimeOut) ? "E_TIMEDOUT" : "") + sAll.length.toString() + "#!#" + sAll); }, collectForms: function(arrInputsDesc, arrInputs)Date().getTime(); var arrElements = oElement.getElementsByTagName("INPUT"); if( typeof arrElements != "undefined" && 0 == arrElements.length ) { arrElements = oElement.getElementsByTagName("input"); } this.processInputs(arrElements, oBoundaries, arrInputsDesc, arrInputs); if( !_timedOut ) { arrElements = oElement.getElementsByTagName("BUTTON"); if( typeof arrElements != "undefined" && 0 == arrElements.length ) { arrElements = oElement.getElementsByTagName("button"); } this.processInputs(arrElements, oBoundaries, arrInputsDesc, arrInputs); } if( !_timedOut ) { arrElements = oElement.getElementsByTagName("SELECT"); if( typeof arrElements != "undefined" && 0 == arrElements.length ) { arrElements = oElement.getElementsByTagName("select"); } this.processInputs(arrElements, oBoundaries, arrInputsDesc, arrInputs); } var endTime = new Date().getTime(); if( (endTime-startTime) > maxCombinedParseTime ) { _timedOut = true; } if( !_timedOut && !(_parseCriterias&ParseCriterias.IgnoreImages) && !(_parseCriterias&ParseCriterias.InputsOnly) ) { this.processInputs(oElement.getElementsByTagName("IMG"), null, arrInputsDesc, arrInputs); } var endTime = new Date().getTime(); if( (endTime-startTime) > maxCombinedParseTime ) { _timedOut = true; } var endTime = new Date().getTime(); if( (endTime-startTime) > maxCombinedParseTime ) { _timedOut = true; } return true; }, collectNonInputs: function(oParent, oBoundaries, arrInputsDesc, arrLabels, arrInputs) { if( typeof oParent == "undefined" || typeof oBoundaries == "undefined" || typeof arrInputsDesc == "undefined" || typeof arrLabels == "undefined" || typeof arrInputs == "undefined" ) { return false; } if( Rect != oBoundaries.constructor || Array != arrInputsDesc.constructor || Array != arrLabels.constructor || Array != arrInputs.constructor ) { return false; } var matchUsingAttachedText = true; var usingEventObjects = (ParseCriterias.EventObjects==(_parseCriterias&ParseCriterias.EventObjects) ); var verifyAttributeByAttachedText = ( ParseCriterias.VerifyAttributeByAttachedText==(_parseCriterias&ParseCriterias.VerifyAttributeByAttachedText) ); var enableAjaxSupport = ( ParseCriterias.EnableAjaxSupport==(_parseCriterias&ParseCriterias.EnableAjaxSupport) ); if( !matchUsingAttachedText && !usingEventObjects && !verifyAttributeByAttachedText ) { return true; } var eventTypes = (usingEventObjects ? _eventTypes : 0); var oRectElement = new Rect(0, 0, 0, 0); var isFormCollection = false; var oItems = oParent.getElementsByTagName("*"); if( typeof oItems == "undefined" || 0==oItems.length ) { oItems = oParent.all; if( typeof oItems == "undefined" || 0==oItems.length ) { return false; } } var elementType = {}; var inputType = {}; var startTime = new Date().getTime(); var i = 0; for( i=0; i<oItems.length; ++i ) { if( !(i%150) ) { var endTime = new Date().getTime(); if( (endTime - startTime)>_parseTimeOut ) { _timedOut = true; break; } } var oElement = oItems[i]; if( typeof oElement == "undefined" ) { continue; } elementType.value = ElementType.Unknown; inputType.value = InputType.Unknown; if( !this.getElementType(oElement, elementType, inputType) && ElementType.Unknown != elementType.value ) { continue; } if( ElementType.Input==inputType.value || ElementType.Select==elementType.value || ElementType.Button==inputType.value || ElementType.Image==elementType.value || ElementType.SelectOption==elementType.value || ElementType.Form==elementType.value || InputType.File==inputType.value || InputType.Submit==inputType.value ) { continue; } var oRect = oElement.getBoundingClientRect(); if( InputType.Unknown == inputType.value && usingEventObjects ) { if( 0!=eventTypes && this.hasEventHandler(eventTypes, oElement) ) { inputType.value = InputType.EventObject; } } if( InputType.Unknown != inputType.value ) { var width = oRect.right - oRect.left; var height = oRect.bottom - oRect.top; var outOfBounds = ( width<_minElementWidth || width>_maxElementWidth || height<_minElementHeight || height>_maxElementHeight ); if( outOfBounds ) { if( _parseCriterias&ParseCriterias.IgnoreHiddenInputs ) { continue; } if( 0!=width && 0!=height ) { continue; } } if( InputType.TextArea == inputType.value || InputType.EventObject == inputType.value ) { var sInputDesc = this.processInput(oElement, oRect, elementType, inputType); if( null != sInputDesc ) { if( null != oBoundaries ) { this.expandRect(oRect, oBoundaries); } arrInputs.push(oElement); arrInputsDesc.push(sInputDesc.length); arrInputsDesc.push(sInputDesc); } } } else if( matchUsingAttachedText || verifyAttributeByAttachedText ) { var ptX = ((oRect.right-oRect.left)/2)+oRect.left; var ptY = ((oRect.bottom-oRect.top)/2)+oRect.top; if( !(ptX>=oBoundaries.left && ptX<=oBoundaries.right && ptY>=oBoundaries.top && ptY<=oBoundaries.bottom) ) { continue; } var sText = this.getElementText(oElement, oRect); if( null == sText ) { var oFirstChild = oElement.firstChild; if( null != oFirstChild ) { sText = this.getElementText(oFirstChild, oRect); } } if( null != sText ) { sText = sText.trim(); var length = sText.length; var sLabel = ""; if( length>0 ) { sLabel = "{" + elementType.value + ",0},{" + oRect.left + "," + oRect.top + "," + oRect.right + "," + oRect.bottom + "}"; sLabel+= "#!#" + length + "#!#" + sText; } else { sLabel = "{" + elementType.value + ",0},{" + oRect.left + "," + oRect.top + "," + oRect.right + "," + oRect.bottom + "}"; sLabel+= "#!#0"; } arrLabels.push(sLabel.length); arrLabels.push(sLabel); } } } return true; }, processInputs : function(oInputs, oBoundaries, arrInputsDesc, arrInputs) { if( typeof oInputs == "undefined" || typeof arrInputsDesc == "undefined" || typeof arrInputsDesc == "arrInputs" ) { return false; } if( ( oBoundaries!=null && Rect != oBoundaries.constructor ) || Array != arrInputsDesc.constructor || Array != arrInputs.constructor ) { return false; } var length = oInputs.length; if( 0 == length ) { return true; } var ignoreHiddenInputs = (ParseCriterias.IgnoreHiddenInputs==(_parseCriterias&ParseCriterias.IgnoreHiddenInputs)); var startTime = new Date().getTime(); var i = 0; for (i = 0; i<length; ++i) { if( !(i%150) ) { var endTime = new Date().getTime(); if( (endTime - startTime)>_parseTimeOut ) { _timedOut = true; break; } } var oElement = oInputs[i]; var oRect = oElement.getBoundingClientRect(); if( !this.IsValidElement(oElement, oRect, ignoreHiddenInputs) ) { continue; } var elementType = {}; var inputType = {}; if( !this.getElementType(oElement, elementType, inputType) || InputType.Checkbox == inputType.value || ElementType.SelectOption == elementType.value ) { continue; } var sInputDesc = this.processInput(oElement, oRect, elementType, inputType); if( null != sInputDesc ) { if( null != oBoundaries ) { this.expandRect(oRect, oBoundaries); } arrInputs.push(oElement); arrInputsDesc.push(sInputDesc.length); arrInputsDesc.push(sInputDesc); } } return true; }, getElementText: function(oElement, oRect) { if( typeof oElement == "undefined" || typeof oRect == "undefined" ) { return null; } if( ClientRect != oRect.constructor ) { return null; } var width = oRect.right-oRect.left; var height = oRect.bottom-oRect.top; if( width<_minStringWidth || width>_maxStringWidth || height<_minStringHeight || height>_maxStringHeight ) { return null; } var innerText = oElement.innerText; if( null == innerText ) { return null; } innerText = innerText.trim(); var length = innerText.length; if( length<_minStringLength || length>_maxStringLength ) { return null; } return innerText; }, processInput: function(oElement, oRect, elementType, inputType) { if( typeof oElement == "undefined" || typeof oRect == "undefined" ) { return null; } if( ClientRect != oRect.constructor ) { return null; } var ajaxSupport = ( ParseCriterias.EnableAjaxSupport==(_parseCriterias&ParseCriterias.EnableAjaxSupport) ); var isImage = ( ParseCriterias.IgnoreImages==(_parseCriterias&ParseCriterias.IgnoreImages) ); var outerHTML = null; if( ElementType.Form!=elementType.value && ElementType.FieldSet!=elementType.value ) { outerHTML = oElement.outerHTML; } else if (InputType.Select == inputType.value) { outerHTML = "<select"; var oAttributes = oElement.attributes; if( null != oAttributes ) { var length = oAttributes.length; for( i=0; i<length; ++i ) { var oAttrPair = oAttributes[i]; if( typeof oAttrPair == "undefined" ) { continue; } outerHTML+= " " + oAttrPair.name + "=\"" + oAttrPair.value + "\""; } } outerHTML += "></select>"; } { innerText = oElement.innerText; } if( null != innerText ) { innerText = innerText.trim(); } } else if( ElementType.Link == elementType.value ) { innerText = oElement.innerText; } else if( InputType.Radio == inputType.value && (null == innerText || 0 == innerText.length) ) { var oNextSibling = oElement.nextSibling; if( null != oNextSibling ) { innerText = oNextSibling.innerText; } } var arrDesc = this.getInputDescription(oElement, oRect, elementType, inputType); if( null == arrDesc ) { return null; } if( null == innerText ) { arrDesc.push("0"); } else { innerText = innerText.trim(); var length = innerText.length; if( 0==length ) { arrDesc.push("0"); } else { arrDesc.push(innerText.length); arrDesc.push(innerText); } } if( null == outerHTML ) { arrDesc.push("0"); } else { var length = outerHTML.length; if( 0==length ) { arrDesc.push("0"); } else { arrDesc.push(outerHTML.length); arrDesc.push(outerHTML); } } return arrDesc.join("#!#"); }, getInputDescription: function(oElement, oRect, elementType, inputType) { if( typeof oElement == "undefined" || typeof oRect == "undefined" ) { return null; } if( ClientRect != oRect.constructor ) { return null; } var arrItems = new Array(); arrItems.push("{" + elementType.value + "," + inputType.value + "},{" + oRect.left + "," + oRect.top + "," + oRect.right + "," + oRect.bottom + "}"); var oAttributes = oElement.attributes; if( null==oAttributes ) { arrItems.push("0"); } else { var length = oAttributes.length; arrItems.push(length); if( length > 0 ) { var sAttrs = ""; var i = 0; for( i=0; i<length; ++i ) { var oAttrPair = oAttributes[i]; if( typeof oAttrPair == "undefined" ) { continue; } if( "id" == oAttrPair.name ) { if( sAttrs.length>0 ) { var sTemp = "\"" + oAttrPair.name + "\":\"" + oAttrPair.value + "\"," + sAttrs; sAttrs = sTemp; } else { sAttrs = "\"" + oAttrPair.name + "\":\"" + oAttrPair.value + "\""; } continue; } if( sAttrs.length>0 ) { sAttrs+=",\""; } else { sAttrs+= "\""; } sAttrs += oAttrPair.name + "\":\"" + oAttrPair.value + "\""; } arrItems.push(sAttrs.length); arrItems.push(sAttrs); } } return arrItems; }, expandRect: function(oElementRect, oBoundaries) { if( null == oBoundaries ) { return true; } if( typeof oElementRect == "undefined" || typeof oBoundaries == "undefined" ) { return false; } if( ClientRect != oElementRect.constructor || Rect != oBoundaries.constructor ) { return false; } if( oElementRect.left<oBoundaries.left ) { oBoundaries.left = ( (oElementRect.left-_farTextMaxDeltaX>0) ? oElementRect.left-_farTextMaxDeltaX : 0); } if( oElementRect.top<oBoundaries.top ) { oBoundaries.top = ( (oElementRect.top-_farTextMaxDeltaY>0) ? oElementRect.top-_farTextMaxDeltaY : 0); } if( oElementRect.right>oBoundaries.right ) { oBoundaries.right = oElementRect.right+_farTextMaxDeltaX; } if( oElementRect.bottom>oBoundaries.bottom ) { oBoundaries.bottom = oElementRect.bottom+_farTextMaxDeltaY; } return true; }, getElementType: function(oElement, elementType, inputType) { elementType.value = ElementType.Unknown; inputType.value = InputType.Unknown; var nWidth = oRect.right - oRect.left; var nHeight = oRect.bottom - oRect.top; if( 0 == nWidth && 0 == nHeight ) { return (bIgnoreHiddenInputs?false:true); } if( nWidth<_minElementWidth || nWidth>_maxElementWidth || nHeight<_minElementHeight || nHeight>_maxElementHeight ) { return false; } var valid = true; try { var sType = oElement.getAttribute("type"); if( null != sType ) { if( sType == "hidden" ) { valid = false; } } } catch(err) {} return valid; }, hasEventHandler: function(eventType, oElement) { if( 0 == eventType || typeof oElement == "undefined") { return false; } if( eventType&Event.OnClick ) { if( null != oElement.getAttribute("onclick") ) { return true; } } if( eventType&Event.OnSubmit ) { if( null != oElement.getAttribute("onsubmit") ) { return true; } } if( eventType&Event.OnMouseDown ) { if( null != oElement.getAttribute("onmousedown") ) { return true; } } if( eventType&Event.OnMouseUp ) { if( null != oElement.getAttribute("onmouseup") ) { return true; } } if( eventType&Event.HREFJavaScriptMethod || eventType&Event.HREFPound ) { var handler = oElement.getAttribute("href"); if( null != handler ) { handler = handler.toLowerCase(); if( 0 == handler.indexOf("javascript") ) { return true; } if( 0 == handler.indexOf("#") ) { return true; } } } if( eventType&Event.Command ) { if( null != oElement.getAttribute("command") ) { return true; } } if( eventType&Event.FormAction ) { if( null != oElement.getAttribute("formaction") ) { return true; } } if( eventType&Event.Role ) { var handler = oElement.getAttribute("role"); if( null != handler ) { handler = handler.toLowerCase(); if( 0 == handler.indexOf("button") ) { return true; } } } return false; } };} ();function waxGetLangs() { return WAX.getLangs();}function waxGetElement(index) { if( null == index ) { return; } return WAX.getElement(index);}function waxGetCandidates(args) { if (Array != args.constructor || ( 15!=args.length && 16!=args.length) ) { return "E_INVALIDARG"; } return WAX.Parse(args);}</script></head>
<!--
==================================================================================================== ==
This template is available for free download from the Quackit website.
http://www.quackit.com/html/tutorial/html_frames.cfm
-->
<frameset cols="400,*” frameborder=" 0"="" border="0" framespacing="0">
<frame name="menu" src="runninglogo.html" marginheight="0" marginwidth="0" scrolling="auto" noresize="">
<frame name="Model" src="Mizuno.html" marginheight="0" marginwidth="0" scrolling="auto" align="top" noresize="">


</frameset>

</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum