var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952653&x=31',
		'title': '',
		'imageId': '69952653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952652&x=31',
		'title': '',
		'imageId': '69952652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952654&x=31',
		'title': '',
		'imageId': '69952654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952657&x=31',
		'title': '',
		'imageId': '69952657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952668&x=31',
		'title': '',
		'imageId': '69952668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952666&x=31',
		'title': '',
		'imageId': '69952666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952655&x=31',
		'title': '',
		'imageId': '69952655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952656&x=31',
		'title': '',
		'imageId': '69952656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952667&x=31',
		'title': '',
		'imageId': '69952667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009738&docid=69952671&x=31',
		'title': '',
		'imageId': '69952671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009738';

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