var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016283&x=5329',
		'title': '',
		'imageId': '69016283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016272&x=5329',
		'title': '',
		'imageId': '69016272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016263&x=5329',
		'title': '',
		'imageId': '69016263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016264&x=5329',
		'title': '',
		'imageId': '69016264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016262&x=5329',
		'title': '',
		'imageId': '69016262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016266&x=5329',
		'title': '',
		'imageId': '69016266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016278&x=5329',
		'title': '',
		'imageId': '69016278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016275&x=5329',
		'title': '',
		'imageId': '69016275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016268&x=5329',
		'title': '',
		'imageId': '69016268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016270&x=5329',
		'title': '',
		'imageId': '69016270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016265&x=5329',
		'title': '',
		'imageId': '69016265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016279&x=5329',
		'title': '',
		'imageId': '69016279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016281&x=5329',
		'title': '',
		'imageId': '69016281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016269&x=5329',
		'title': '',
		'imageId': '69016269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016273&x=5329',
		'title': '',
		'imageId': '69016273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016267&x=5329',
		'title': '',
		'imageId': '69016267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016280&x=5329',
		'title': '',
		'imageId': '69016280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016277&x=5329',
		'title': '',
		'imageId': '69016277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016372&x=5329',
		'title': '',
		'imageId': '69016372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016376&x=5329',
		'title': '',
		'imageId': '69016376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016375&x=5329',
		'title': '',
		'imageId': '69016375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69016374&x=5329',
		'title': '',
		'imageId': '69016374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969916&docid=69272843&x=5329',
		'title': '',
		'imageId': '69272843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969916';

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";
	})
}
