var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279198&x=170',
		'title': '',
		'imageId': '67279198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279201&x=170',
		'title': '',
		'imageId': '67279201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279204&x=170',
		'title': '',
		'imageId': '67279204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279207&x=170',
		'title': '',
		'imageId': '67279207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279239&x=170',
		'title': '',
		'imageId': '67279239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279243&x=170',
		'title': '',
		'imageId': '67279243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279246&x=170',
		'title': '',
		'imageId': '67279246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279249&x=170',
		'title': '',
		'imageId': '67279249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279252&x=170',
		'title': '',
		'imageId': '67279252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279260&x=170',
		'title': '',
		'imageId': '67279260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67279263&x=170',
		'title': '',
		'imageId': '67279263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887223&docid=67565939&x=170',
		'title': '',
		'imageId': '67565939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887223';

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