/*
** by Sitsanlis Ilias
*/

var color1 = "#80c5de"
var color2 = "#FFCC00"

function boxLineFrontShape() {
	var shape = new createjs.Shape();
	shape.graphics.f().s("#999999").ss(1.5,1,1).p("AJULFQAAgSAAgTQAAgtgBgwQAAhLAAhOQAAgbAAgaQAAiSgBiZQAAgJAAgIQAAgNAAgMQAAgNAAgNQAAgiAAgkQAAhdAAhIQgBiaAAgzQgBgZABgXQAAgTABgTQAEhbANhSQAJhAANgpQAFgSAGgOQgMARggAPQgwAWhbASQi+AnkMAAQkLAAi+gnQiUgegggnQgJgLAAgLAJULKQABADAAACQAAACAAAAQgBAEgBAEQAAABgBACQgRAuiaAiQiuAmj1AAQj0AAiugmQiagigRguQgBgCAAgBQgBgEgBgEQAAAAAAgCIAAAAQAAgDABgDAp6s7QASAxANBVQANBSAEBbQABATAAATQABAYgBAYQAAA0AACZQgBBIAABeQAAAjAAAiQAAANAAANIAAAZQAAAIAAAJQgBCZAACSQAAAaAAAbQAABOAABLQgBAwAAAtQAAATAAAT");
	shape.alpha = 0.5
	return shape
}

function boxLineBackShape() {
	var shape = new createjs.Shape();
	
	shape.graphics.f().s("#999999").ss(1.5,1,1).p("AJ9BKQAJgLAAgMQAAgEgBgDQgCgEgCgFQgBgBgCgDQgjgkiQgdQi+gnkMAAQkLAAi+AnQiUAeggAmQgJALAAAL");
	//shape.graphics.f("#ccc").s("#999999").ss(1.5,1,1).p("AJ9BKQAJgLAAgMQAAgEgBgDQgCgEgCgFQgBgBgCgDQgjgkiQgdQi+gnkMAAQkLAAi+AnQiUAeggAmQgJALAAAL");
	shape.alpha = 0.5
	return shape
}

function boxLineFront2Shape() {
	var shape = new createjs.Shape();
	shape.graphics.f("#ccc").s("#999999").ss(1.5,1,1).p("AJ9BKQAJgLAAgMQAAgEgBgDQgCgEgCgFQgBgBgCgDQgjgkiQgdQi+gnkMAAQkLAAi+AnQiUAeggAmQgJALAAAL");
	shape.alpha = 0.5
	return shape
}

function baseFrontShape() {
	var shape = new createjs.Shape();
	shape.graphics.f().s("#333").ss(5,1,1).p("AJ9BKQAJgLAAgMQAAgEgBgDQgCgEgCgFQgBgBgCgDQgjgkiQgdQi+gnkMAAQkLAAi+AnQiUAeggAmQgJALAAAL");
    shape.graphics.mt(-64,+7).lt(-75,-60)
    shape.graphics.mt(+65,+5).lt(+76,-60)
	shape.alpha = 0.5
	return shape
}


/*
function topFrontShape() {
	var shape = new createjs.Shape();
	shape.graphics.f("").s("#999999").ss(1.5,1,1).p("AJ9BKQAJgLAAgMQAAgEgBgDQgCgEgCgFQgBgBgCgDQgjgkiQgdQi+gnkMAAQkLAAi+AnQiUAeggAmQgJALAAAL").cp();
	
	return shape
}
*/

function bottomShape(color) {
	var shape = new createjs.Shape();
	shape.graphics.f(color).s().p("AmgBcQitgmAAg2QAAg1CtgnQCtgmDzAAQD0AACtAmQCtAngBA1QABA2itAmQitAnj0AAQjzAAitgng");//"#99E6FF"
	shape.regY = -1
    
	return shape
}

function waterShape(color) {
	var shape = new createjs.Shape();
	shape.graphics.f(color).s().p("ApNGmIAAtLISaAAIAANLg");

    shape.regX = -0.5

	return shape
}

function top1Shape(color) {// mprosta

    var shape = new createjs.Shape();
	shape.graphics.f(color).s("#000").ss(1,1,1).p("AJIg/QgDA0ioAmQirAljyAAQjxAAirglQiogmgDg0");//"rgba(153,153,153,0.498)"
    shape.alpha=.05//0.05

	//res.regX = 360
    //res.regY = 4+0.5
	return shape;
}

function top2Shape(color) {// piso

    var shape = new createjs.Shape();
	shape.graphics.f(color).s().p("ApHBAQADg0CoglQCrgmDxAAQDyAACqAmQCqAlACA0g");//"#99E6FF"
	shape.setTransform(0,0);
    shape.alpha=0.7//0.5
	
	//res.regX = 360
	shape.regY = -.19

	return shape;
}



function bridgeShape() {
	var shape = new createjs.Shape();
	shape.graphics.f().s("#B87333").ss(6,1,1).p("AmopRQABivB7h9QB9h8CvAAQCwAAB9B8QB7B9ABCvIAAY/AmopOIAAZI");
    
    shape.regX = 20
    shape.regY = 20
	
	return shape
}

function leftBridgeShape() {
	var shape = new createjs.Shape();
	shape.graphics.f().s("#B87333").ss(10,1,1).p("AjZpRQABivB8h9QB7h8CwAAQAGAAAFAAAjZpOIAAZI");
	
    shape.regX = -55
    shape.regY = 30+10
    
	return shape
}

function rightBridgeShape() {
	var shape = new createjs.Shape();
	shape.graphics.f().s("#B87333").ss(10,1,1).p("AjTvzQAFAAAFAAQCpAEB4B4QB8B8AACwIAAY/");

    shape.regX = 55
    shape.regY = 30.7+10
    
	return shape
}
