var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662543&x=1331',
		'title': '',
		'imageId': '68662543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662544&x=1331',
		'title': '',
		'imageId': '68662544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662545&x=1331',
		'title': '',
		'imageId': '68662545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662546&x=1331',
		'title': '',
		'imageId': '68662546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662553&x=1331',
		'title': '',
		'imageId': '68662553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662558&x=1331',
		'title': '',
		'imageId': '68662558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662563&x=1331',
		'title': '',
		'imageId': '68662563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662560&x=1331',
		'title': '',
		'imageId': '68662560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662562&x=1331',
		'title': '',
		'imageId': '68662562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662564&x=1331',
		'title': '',
		'imageId': '68662564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662567&x=1331',
		'title': '',
		'imageId': '68662567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662572&x=1331',
		'title': '',
		'imageId': '68662572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662574&x=1331',
		'title': '',
		'imageId': '68662574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662579&x=1331',
		'title': '',
		'imageId': '68662579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953498&docid=68662542&x=1331',
		'title': '',
		'imageId': '68662542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953498';

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