hEAD>
p> form>
P>
body>
html>
Function Imgexceedsize (w, h) {
IF (! Document.Iupload.picsrc.value == "") {
IF (picshow.width> w || picshow.height> h) {
Alert ("Image Size:" PicShow.Width "x" picshow.height ".// n image size is too big! You can only upload images of" w "×" h ", please re-browse the picture ! ");"
Return True;
} else {
Return False;
}
Function detect () {
VAR OK = IMGEXCEEDSIZE (50, 50);
IF (ok) {
Document.iupload.reset ();
Document.iupload.submit ();
// ->
Script>