var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766004&x=532',
		'title': '',
		'imageId': '68766004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766010&x=532',
		'title': '',
		'imageId': '68766010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766003&x=532',
		'title': '',
		'imageId': '68766003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766009&x=532',
		'title': '',
		'imageId': '68766009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766005&x=532',
		'title': '',
		'imageId': '68766005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766008&x=532',
		'title': '',
		'imageId': '68766008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766011&x=532',
		'title': '',
		'imageId': '68766011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766007&x=532',
		'title': '',
		'imageId': '68766007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766006&x=532',
		'title': '',
		'imageId': '68766006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975583&docid=68766002&x=532',
		'title': '',
		'imageId': '68766002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975583';

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