	var Kart = 0;
        
        function ff(xx) {
                             
                if (document [xx].src == imageg.src || document [xx].src == imageb.src) {
                        Kart = (Kart + 1);

                        if (Kart > 7) {

                                alert ("Sedece 7 tarot karti secebilirsiniz.");

                                Kart = (Kart - 1);

                        } else {

                                document [xx].src =imager.src;

                        }

                } else {

                        document [xx].src = imageg.src;

                        Kart = (Kart - 1);

                }
            
                               
        }



        function g1(xx) {

                if (document [xx].src ==  imageg.src) {

                        document [xx].src = imageb.src;

                }

        }



        function g2(xx) {

                if (document [xx].src ==imageb.src) {

                        document [xx].src = imageg.src;

                }

        }



        function frm_OnSubmit() {

                if (Kart < 7) {

                        if (Kart == 0) {

                                alert ("Lütfen 7 tane tarot kartý seciniz.");

                        } else {

                                alert ("Lütfen " + (7 - Kart) + " tarot karti daha seciniz.");

                        }

                        return (false);

                }

        }


function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}



function set_name(form) {
var expdate = new Date ();
expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000 * 31));
var username = form.isim.value
if (username != "") {
SetCookie ("tarotname", username, expdate);
}
}



<!-- Begin

imageb = new Image();
imageb.src = "images/b.gif";

imager = new Image();
imager.src = "images/r.gif";

imageg = new Image();
imageg.src = "images/g.gif";

// End -->




	var Kart = 0;
        
        function is(xx) {
                             
                if (document [xx].src == image1.src || document [xx].src == image3.src) {
                        Kart = (Kart + 1);

                        if (Kart > 1) {

                                alert ("Sedece 1 tarot karti secebilirsiniz.");

                                Kart = (Kart - 1);

                        } else {

                                document [xx].src =image2.src;

                        }

                } else {

                        document [xx].src = image1.src;

                        Kart = (Kart - 1);

                }
            
                               
        }



        function z1(xx) {

                if (document [xx].src ==  image1.src) {

                        document [xx].src = image3.src;

                }

        }



        function z2(xx) {

                if (document [xx].src ==image3.src) {

                        document [xx].src = image1.src;

                }

        }



        function frm_OnSubmit() {

                if (Kart < 1) {

                        if (Kart == 0) {

                                alert ("Lütfen 1 tane tarot kartý seciniz.");

                        } else {

                                alert ("Lütfen " + (1 - Kart) + " tarot karti daha seciniz.");

                        }

                        return (false);

                }

        }


function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}



function set_name(form) {
var expdate = new Date ();
expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000 * 31));
var username = form.isim.value
if (username != "") {
SetCookie ("tarotname", username, expdate);
}
}



<!-- Begin


image3 = new Image();
image3.src = "images/3.png";

image2 = new Image();
image2.src = "images/2.png";

image1 = new Image();
image1.src = "images/1.png";

// End -->


