function flickrUsernameControl(control)
{
    this.control = control;
    this.dialogue_source = this.control.content.findName("dialogue_source");
    this.dialogue_flickr_username = this.control.content.findName("dialogue_flickr_username");
    this.dialogue_photos = this.control.content.findName("dialogue_photos");
    this.inputBase = document.getElementById('flickr_username_base');
    this.input = document.getElementById('flickr_username_input');
	this.btn_flickr_accept = this.control.content.findName('btn_flickr_accept');
	//Functions
    //Functions
    this.btn_flickr_accept_press = btn_flickr_accept_press;
    //Set Cursor
	this.btn_flickr_accept.cursor = "Hand";
    
	this.btn_flickr_accept.addEventListener("mouseLeftButtonDown", preserveScope(this, btn_flickr_accept_press));
	
}


function btn_flickr_accept_press(){
	requestUserID(this.input.value);
    SeasonCards.cardItems.flickrUsername = this.input.value;
	SeasonCards.changeDialogue("dialogue_photos", 0);
	SeasonCards.storyboards.flickr_photos_in.begin();
	
}

