﻿/// <reference path="jquery-1.5-vsdoc.js" />
$(document).ready(function () {
    $("ul.categories li a").mouseenter(function () {
        $this = $(this);
        $this.next("ul").css("display", "block");
        $this.parent("li").mouseleave(function () {
            $this2 = $(this);
            $this2.children("ul").css("display", "none");
        });
    });

    $(".bestsellers").cycle({
        fx: 'scrollLeft',
        speed: 500,
        timeout: 5000
    });
    $(".userbasket").cycle({
        fx: 'scrollLeft',
        speed: 500,
        timeout: 5000
    });
    $(".marketing_area").cycle({
        fx: 'fade',
        speed: 500,
        timeout: 8000
    });
    $(".password_input").val("Şifre");
});
    function clickclear(thisfield, defaulttext) {
        if (thisfield.value == defaulttext) {
            thisfield.value = "";
        }
    }
    function clickrecall(thisfield, defaulttext) {
        if (thisfield.value == "") {
            thisfield.value = defaulttext;
        }
    }
