var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795588&x=513',
		'title': '',
		'imageId': '68795588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795594&x=513',
		'title': '',
		'imageId': '68795594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795603&x=513',
		'title': '',
		'imageId': '68795603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795596&x=513',
		'title': '',
		'imageId': '68795596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795604&x=513',
		'title': '',
		'imageId': '68795604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795597&x=513',
		'title': '',
		'imageId': '68795597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795595&x=513',
		'title': '',
		'imageId': '68795595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795602&x=513',
		'title': '',
		'imageId': '68795602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795598&x=513',
		'title': '',
		'imageId': '68795598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795599&x=513',
		'title': '',
		'imageId': '68795599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795601&x=513',
		'title': '',
		'imageId': '68795601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964754&docid=68795600&x=513',
		'title': '',
		'imageId': '68795600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964754';

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