var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841738&x=503',
		'title': '',
		'imageId': '68841738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841739&x=503',
		'title': '',
		'imageId': '68841739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841740&x=503',
		'title': '',
		'imageId': '68841740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841741&x=503',
		'title': '',
		'imageId': '68841741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841742&x=503',
		'title': '',
		'imageId': '68841742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841745&x=503',
		'title': '',
		'imageId': '68841745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841750&x=503',
		'title': '',
		'imageId': '68841750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841751&x=503',
		'title': '',
		'imageId': '68841751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841757&x=503',
		'title': '',
		'imageId': '68841757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961482&docid=68841737&x=503',
		'title': '',
		'imageId': '68841737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961482';

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