var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164754&x=2232',
		'title': '',
		'imageId': '70164754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164747&x=2232',
		'title': '',
		'imageId': '70164747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164750&x=2232',
		'title': '',
		'imageId': '70164750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164755&x=2232',
		'title': '',
		'imageId': '70164755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164717&x=2232',
		'title': '',
		'imageId': '70164717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164722&x=2232',
		'title': '',
		'imageId': '70164722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164737&x=2232',
		'title': '',
		'imageId': '70164737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164727&x=2232',
		'title': '',
		'imageId': '70164727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164714&x=2232',
		'title': '',
		'imageId': '70164714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164736&x=2232',
		'title': '',
		'imageId': '70164736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164718&x=2232',
		'title': '',
		'imageId': '70164718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164730&x=2232',
		'title': '',
		'imageId': '70164730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164745&x=2232',
		'title': '',
		'imageId': '70164745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164740&x=2232',
		'title': '',
		'imageId': '70164740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164719&x=2232',
		'title': '',
		'imageId': '70164719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164733&x=2232',
		'title': '',
		'imageId': '70164733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164697&x=2232',
		'title': '',
		'imageId': '70164697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164698&x=2232',
		'title': '',
		'imageId': '70164698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164699&x=2232',
		'title': '',
		'imageId': '70164699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164700&x=2232',
		'title': '',
		'imageId': '70164700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164701&x=2232',
		'title': '',
		'imageId': '70164701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164704&x=2232',
		'title': '',
		'imageId': '70164704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164761&x=2232',
		'title': '',
		'imageId': '70164761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017296&docid=70164713&x=2232',
		'title': '',
		'imageId': '70164713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017296';

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