var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061764&x=87',
		'title': '',
		'imageId': '70061764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061739&x=87',
		'title': '',
		'imageId': '70061739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061746&x=87',
		'title': '',
		'imageId': '70061746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061755&x=87',
		'title': '',
		'imageId': '70061755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061750&x=87',
		'title': '',
		'imageId': '70061750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061738&x=87',
		'title': '',
		'imageId': '70061738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061756&x=87',
		'title': '',
		'imageId': '70061756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061758&x=87',
		'title': '',
		'imageId': '70061758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061749&x=87',
		'title': '',
		'imageId': '70061749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061747&x=87',
		'title': '',
		'imageId': '70061747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061769&x=87',
		'title': '',
		'imageId': '70061769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061768&x=87',
		'title': '',
		'imageId': '70061768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061766&x=87',
		'title': '',
		'imageId': '70061766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061742&x=87',
		'title': '',
		'imageId': '70061742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061751&x=87',
		'title': '',
		'imageId': '70061751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061752&x=87',
		'title': '',
		'imageId': '70061752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061737&x=87',
		'title': '',
		'imageId': '70061737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061743&x=87',
		'title': '',
		'imageId': '70061743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061745&x=87',
		'title': '',
		'imageId': '70061745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061741&x=87',
		'title': '',
		'imageId': '70061741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061744&x=87',
		'title': '',
		'imageId': '70061744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061765&x=87',
		'title': '',
		'imageId': '70061765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061757&x=87',
		'title': '',
		'imageId': '70061757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061754&x=87',
		'title': '',
		'imageId': '70061754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061740&x=87',
		'title': '',
		'imageId': '70061740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061763&x=87',
		'title': '',
		'imageId': '70061763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061759&x=87',
		'title': '',
		'imageId': '70061759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061767&x=87',
		'title': '',
		'imageId': '70061767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061762&x=87',
		'title': '',
		'imageId': '70061762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061753&x=87',
		'title': '',
		'imageId': '70061753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061760&x=87',
		'title': '',
		'imageId': '70061760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061761&x=87',
		'title': '',
		'imageId': '70061761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061771&x=87',
		'title': '',
		'imageId': '70061771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70061770&x=87',
		'title': '',
		'imageId': '70061770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013389&docid=70069140&x=87',
		'title': '',
		'imageId': '70069140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013389';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
