var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063330&x=1237',
		'title': '',
		'imageId': '70063330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063329&x=1237',
		'title': '',
		'imageId': '70063329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063327&x=1237',
		'title': '',
		'imageId': '70063327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063332&x=1237',
		'title': '',
		'imageId': '70063332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063333&x=1237',
		'title': '',
		'imageId': '70063333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063336&x=1237',
		'title': '',
		'imageId': '70063336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063338&x=1237',
		'title': '',
		'imageId': '70063338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063342&x=1237',
		'title': '',
		'imageId': '70063342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063339&x=1237',
		'title': '',
		'imageId': '70063339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063331&x=1237',
		'title': '',
		'imageId': '70063331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063341&x=1237',
		'title': '',
		'imageId': '70063341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063334&x=1237',
		'title': '',
		'imageId': '70063334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063340&x=1237',
		'title': '',
		'imageId': '70063340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063337&x=1237',
		'title': '',
		'imageId': '70063337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063347&x=1237',
		'title': '',
		'imageId': '70063347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063343&x=1237',
		'title': '',
		'imageId': '70063343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063348&x=1237',
		'title': '',
		'imageId': '70063348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063346&x=1237',
		'title': '',
		'imageId': '70063346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063328&x=1237',
		'title': '',
		'imageId': '70063328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063335&x=1237',
		'title': '',
		'imageId': '70063335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063349&x=1237',
		'title': '',
		'imageId': '70063349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063350&x=1237',
		'title': '',
		'imageId': '70063350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063344&x=1237',
		'title': '',
		'imageId': '70063344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014369&docid=70063345&x=1237',
		'title': '',
		'imageId': '70063345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014369';

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